remove a bit of useless clutter

This commit is contained in:
blek 2023-10-27 00:14:33 +10:00
parent 9b1e78a21c
commit 8400272af7
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ pub async fn check_file(file: String, keys: Vec<String>, 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)
}