Remove extraneous conversion
This commit is contained in:
parent
7f16e697e6
commit
ea8e031a3d
1 changed files with 1 additions and 5 deletions
4
src/cache/disk.rs
vendored
4
src/cache/disk.rs
vendored
|
@ -175,11 +175,7 @@ async fn db_listener(
|
|||
|
||||
let mut size_freed = 0;
|
||||
for item in items {
|
||||
// Can't be helped, SQLite doesn't support unsigned integers
|
||||
#[allow(clippy::cast_sign_loss)]
|
||||
{
|
||||
size_freed += item.size as u64;
|
||||
}
|
||||
tokio::spawn(remove_file(item.id));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue