From 4fc62c20829487a87fe161d8f0ea4789df6c1a01 Mon Sep 17 00:00:00 2001 From: Alec Goncharow Date: Sun, 23 Jan 2022 16:42:57 -0500 Subject: [PATCH] fix documentation typo Remove redundant "neither" in the documentation comment. --- crates/core_simd/src/vector/float.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/core_simd/src/vector/float.rs b/crates/core_simd/src/vector/float.rs index 0e179d6fa76b..ae900ff32a03 100644 --- a/crates/core_simd/src/vector/float.rs +++ b/crates/core_simd/src/vector/float.rs @@ -105,7 +105,7 @@ macro_rules! impl_float_vector { self.abs().lanes_ne(Self::splat(0.0)) & (self.to_bits() & Self::splat(<$type>::INFINITY).to_bits()).lanes_eq(Simd::splat(0)) } - /// Returns true for each lane if its value is neither neither zero, infinite, + /// Returns true for each lane if its value is neither zero, infinite, /// subnormal, or `NaN`. #[inline] #[must_use = "method returns a new mask and does not mutate the original value"]