diff options
Diffstat (limited to 'vendor/gix-config/src/parse/section')
-rw-r--r-- | vendor/gix-config/src/parse/section/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/gix-config/src/parse/section/mod.rs b/vendor/gix-config/src/parse/section/mod.rs index 7ba08b87d..5af292675 100644 --- a/vendor/gix-config/src/parse/section/mod.rs +++ b/vendor/gix-config/src/parse/section/mod.rs @@ -88,7 +88,7 @@ mod types { impl PartialOrd for $name<'_> { fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> { - self.cmp(other).into() + Some(self.cmp(other)) } } |