diff options
Diffstat (limited to '')
-rw-r--r-- | vendor/gix-revwalk/src/queue.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/gix-revwalk/src/queue.rs b/vendor/gix-revwalk/src/queue.rs index 4a1fba9fd..1cae356be 100644 --- a/vendor/gix-revwalk/src/queue.rs +++ b/vendor/gix-revwalk/src/queue.rs @@ -29,7 +29,7 @@ impl<K: Ord, T> Eq for Item<K, T> {} impl<K: Ord, T> PartialOrd<Self> for Item<K, T> { fn partial_cmp(&self, other: &Self) -> Option<Ordering> { - Ord::cmp(self, other).into() + Some(Ord::cmp(self, other)) } } |