Actually display is better used here

This commit is contained in:
Ben S 2014-06-20 21:40:31 +01:00
parent 9187ded71b
commit 2adc9b8dc9

2
dir.rs
View File

@ -27,7 +27,7 @@ impl<'a> Dir<'a> {
files.push(file);
}
Err(e) => {
println!("{}: {}", path.filename_str().unwrap(), e);
println!("{}: {}", path.display(), e);
}
}
}