summaryrefslogtreecommitdiffstats
path: root/vendor/packed_simd_2/src/masks.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--vendor/packed_simd_2/src/masks.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/vendor/packed_simd_2/src/masks.rs b/vendor/packed_simd_2/src/masks.rs
index aeb36d232..04534eab2 100644
--- a/vendor/packed_simd_2/src/masks.rs
+++ b/vendor/packed_simd_2/src/masks.rs
@@ -54,9 +54,7 @@ macro_rules! impl_mask_ty {
impl PartialOrd<$id> for $id {
#[inline]
- fn partial_cmp(
- &self, other: &Self,
- ) -> Option<crate::cmp::Ordering> {
+ fn partial_cmp(&self, other: &Self) -> Option<crate::cmp::Ordering> {
use crate::cmp::Ordering;
if self == other {
Some(Ordering::Equal)
@@ -107,9 +105,7 @@ macro_rules! impl_mask_ty {
impl crate::fmt::Debug for $id {
#[inline]
- fn fmt(
- &self, fmtter: &mut crate::fmt::Formatter<'_>,
- ) -> Result<(), crate::fmt::Error> {
+ fn fmt(&self, fmtter: &mut crate::fmt::Formatter<'_>) -> Result<(), crate::fmt::Error> {
write!(fmtter, "{}({})", stringify!($id), self.0 != 0)
}
}