clippy: Fix clippy lints

New rustup adds more lints
This commit is contained in:
andy.boot
2021-08-04 18:04:02 +01:00
parent 9de2e7d723
commit dfa574375b
5 changed files with 14 additions and 13 deletions
+2 -2
View File
@@ -120,9 +120,9 @@ pub fn get_metadata(d: &Path, _use_apparent_size: bool) -> Option<(u64, Option<(
{
Some((md.len(), None))
} else {
get_metadata_expensive(&d)
get_metadata_expensive(d)
}
}
_ => get_metadata_expensive(&d),
_ => get_metadata_expensive(d),
}
}