mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
clippy: Fix clippy lints
New rustup adds more lints
This commit is contained in:
+1
-1
@@ -41,7 +41,7 @@ pub fn get_filesystem_devices<'a, P: IntoIterator<Item = &'a PathBuf>>(paths: P)
|
||||
paths
|
||||
.into_iter()
|
||||
.filter_map(|p| {
|
||||
let meta = get_metadata(&p, false);
|
||||
let meta = get_metadata(p, false);
|
||||
|
||||
if let Some((_size, Some((_id, dev)))) = meta {
|
||||
Some(dev)
|
||||
|
||||
Reference in New Issue
Block a user