Browse Source

Actually display is better used here

Ben S 11 years ago
parent
commit
2adc9b8dc9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dir.rs

+ 1 - 1
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);
                 }
             }
         }