Fix some nightly build errors (#4657)

This commit is contained in:
Daniel García
2024-06-20 09:35:52 +02:00
committed by GitHub
parent 55fdee3bf8
commit 9082e7cebb
3 changed files with 9 additions and 2 deletions

View File

@@ -95,7 +95,7 @@ impl Attachment {
pub async fn delete(&self, conn: &mut DbConn) -> EmptyResult {
db_run! { conn: {
crate::util::retry(
let _: () = crate::util::retry(
|| diesel::delete(attachments::table.filter(attachments::id.eq(&self.id))).execute(conn),
10,
)