Fix build on Windows

This commit is contained in:
sharkdp 2017-09-27 21:25:50 +02:00
parent 042959a4af
commit 60df14f0a3
1 changed files with 1 additions and 1 deletions

View File

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