mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-18 11:59:11 +00:00
Rust useless conversion
This commit is contained in:
parent
230ea4fd84
commit
b3a586afff
|
@ -85,7 +85,7 @@ impl StatefulJob for FileIdentifierJob {
|
|||
.map(PathBuf::from)
|
||||
.unwrap_or_default();
|
||||
|
||||
let total_count = count_orphan_file_paths(&library, state.init.location_id.into()).await?;
|
||||
let total_count = count_orphan_file_paths(&library, state.init.location_id).await?;
|
||||
info!("Found {} orphan file paths", total_count);
|
||||
|
||||
let task_count = (total_count as f64 / CHUNK_SIZE as f64).ceil() as usize;
|
||||
|
|
Loading…
Reference in a new issue