From 8400272af7c2f2fa76c497773a0813f5d1ca5bf0 Mon Sep 17 00:00:00 2001 From: blek Date: Fri, 27 Oct 2023 00:14:33 +1000 Subject: [PATCH] remove a bit of useless clutter --- janitor/src/clean.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/janitor/src/clean.rs b/janitor/src/clean.rs index b23b814..69772f2 100644 --- a/janitor/src/clean.rs +++ b/janitor/src/clean.rs @@ -47,7 +47,7 @@ pub async fn check_file(file: String, keys: Vec, prefix: String) -> Resu #[cfg(debug_assertions)] { log::debug!("File {file} is marked for deletion because it exists in the filesystem, but is not in the database"); } - let _ = tokio::fs::remove_file(file).await.map_err(|err| err.to_string())?; + tokio::fs::remove_file(file).await.map_err(|err| err.to_string())?; return Ok(true) }