diff options
Diffstat (limited to 'vendor/packed_simd_2/src/api/cmp/partial_ord.rs')
-rw-r--r-- | vendor/packed_simd_2/src/api/cmp/partial_ord.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/vendor/packed_simd_2/src/api/cmp/partial_ord.rs b/vendor/packed_simd_2/src/api/cmp/partial_ord.rs index a2292918b..76ed9ebe4 100644 --- a/vendor/packed_simd_2/src/api/cmp/partial_ord.rs +++ b/vendor/packed_simd_2/src/api/cmp/partial_ord.rs @@ -12,13 +12,9 @@ macro_rules! impl_cmp_partial_ord { } } - impl crate::cmp::PartialOrd<LexicographicallyOrdered<$id>> - for LexicographicallyOrdered<$id> - { + impl crate::cmp::PartialOrd<LexicographicallyOrdered<$id>> for LexicographicallyOrdered<$id> { #[inline] - fn partial_cmp( - &self, other: &Self, - ) -> Option<crate::cmp::Ordering> { + fn partial_cmp(&self, other: &Self) -> Option<crate::cmp::Ordering> { if PartialEq::eq(self, other) { Some(crate::cmp::Ordering::Equal) } else if PartialOrd::lt(self, other) { |