Skip to content

Commit

Permalink
Fix local size set generic type
Browse files Browse the repository at this point in the history
  • Loading branch information
taoky committed Mar 31, 2024
1 parent f07a363 commit 238cd96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stages.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ pub fn stage2(args: &Cli, local_sizedb: Option<&sled::Db>) -> FileStats {
res = Some(
res.unwrap_or_else(|| entry.metadata().expect("get metadata failed").len()),
);
let _ = db_set(local_sizedb, path, res.unwrap());
let _ = db_set::<LocalSizeDBItem>(local_sizedb, path, res.unwrap().into());
}
res.unwrap()
};
Expand Down

0 comments on commit 238cd96

Please sign in to comment.