summaryrefslogtreecommitdiffstats
path: root/src/dir_entry.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/dir_entry.rs')
-rw-r--r--src/dir_entry.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dir_entry.rs b/src/dir_entry.rs
index f44f2be..64d7adf 100644
--- a/src/dir_entry.rs
+++ b/src/dir_entry.rs
@@ -113,7 +113,7 @@ impl Eq for DirEntry {}
impl PartialOrd for DirEntry {
#[inline]
fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
- self.path().partial_cmp(other.path())
+ Some(self.cmp(other))
}
}