diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-03-08 16:23:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-08 16:23:38 -0500 |
commit | 4efc05ef27c9977478c02b30d528c5084ab8662d (patch) | |
tree | f62fc247bfd87e4b1509dc3866ce65de359d9db3 /src/dir_entry.rs | |
parent | 3b2fd158b5ef4ba5f8cccddc2d2efb1de24b6c47 (diff) | |
parent | 0788c43c3fcd61f0d3a3807d250563739d6ed371 (diff) |
Merge pull request #1510 from garlic-hub/clippy
Clean up clippy warnings
Diffstat (limited to 'src/dir_entry.rs')
-rw-r--r-- | src/dir_entry.rs | 2 |
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)) } } |