diff options
author | Leonardo Yvens <leoyvens@gmail.com> | 2016-12-23 17:53:35 -0200 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2016-12-23 14:53:35 -0500 |
commit | dd5ded2f78145755208043db1027cdb85ac9fd5a (patch) | |
tree | 4a4541ba35332fb7e9af9d7b26ec17bf3602b2cc /src/worker.rs | |
parent | cbacf4f19ea3a73f04070d942b217b333cf88e67 (diff) |
fix some clippy lints (#288)
Diffstat (limited to 'src/worker.rs')
-rw-r--r-- | src/worker.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/worker.rs b/src/worker.rs index 59198dd5..60dde722 100644 --- a/src/worker.rs +++ b/src/worker.rs @@ -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(); |