Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/walkdir.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/dent.rs')
-rw-r--r--src/dent.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dent.rs b/src/dent.rs
index 2b2159b..a28ed3d 100644
--- a/src/dent.rs
+++ b/src/dent.rs
@@ -3,8 +3,8 @@ use std::fmt;
use std::fs::{self, FileType};
use std::path::{Path, PathBuf};
-use error::Error;
-use Result;
+use crate::error::Error;
+use crate::Result;
/// A directory entry.
///
@@ -352,7 +352,7 @@ impl Clone for DirEntry {
}
impl fmt::Debug for DirEntry {
- fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
+ fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
write!(f, "DirEntry({:?})", self.path)
}
}