Make Clippy happy

This commit is contained in:
Roey Darwish Dror
2019-04-14 11:35:18 +03:00
parent 5ae2d0d473
commit 2872081754
4 changed files with 5 additions and 3 deletions

View File

@@ -96,7 +96,7 @@ impl Distribution {
pub fn show_pacnew() {
let mut iter = WalkDir::new("/etc")
.into_iter()
.filter_map(|e| e.ok())
.filter_map(Result::ok)
.filter(|f| {
f.path()
.extension()