1
0
mirror of https://github.com/sharkdp/fd synced 2024-07-03 00:08:39 +00:00

Fix warning

This commit is contained in:
sharkdp 2017-09-15 20:55:54 +02:00
parent 2def50bddd
commit 1397dbcc6f

View File

@ -114,7 +114,7 @@ fn print_entry(base: &Path, entry: &PathBuf, config: &FdOptions) {
};
#[cfg(not(target_family = "unix"))]
let is_executable = |p: &std::path::PathBuf| {false};
let is_executable = |_: &std::path::PathBuf| { false };
let stdout = std::io::stdout();
let mut handle = stdout.lock();