diff --git a/dir.rs b/dir.rs index b4c7463..525d55a 100644 --- a/dir.rs +++ b/dir.rs @@ -27,7 +27,7 @@ impl<'a> Dir<'a> { files.push(file); } Err(e) => { - println!("{}: {}", path.filename_str().unwrap(), e); + println!("{}: {}", path.display(), e); } } }