fix some clippy lints (#288)

This commit is contained in:
Leonardo Yvens
2016-12-23 17:53:35 -02:00
committed by Andrew Gallant
parent cbacf4f19e
commit dd5ded2f78
7 changed files with 21 additions and 21 deletions

View File

@@ -199,7 +199,7 @@ impl Worker {
Work::Stdin => {
let stdin = io::stdin();
let stdin = stdin.lock();
self.search(printer, &Path::new("<stdin>"), stdin)
self.search(printer, Path::new("<stdin>"), stdin)
}
Work::DirEntry(dent) => {
let mut path = dent.path();