about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlec Goncharow <alec@alecgoncharow.com>2022-01-23 16:42:57 -0500
committerGitHub <noreply@github.com>2022-01-23 16:42:57 -0500
commit4fc62c20829487a87fe161d8f0ea4789df6c1a01 (patch)
tree0ae1c3f159014d7e7abe01c33b868c72e04f8516
parent56566d816deda17b2ddaf3e3e603f2af16e26653 (diff)
downloadrust-4fc62c20829487a87fe161d8f0ea4789df6c1a01.tar.gz
rust-4fc62c20829487a87fe161d8f0ea4789df6c1a01.zip
fix documentation typo
Remove redundant "neither" in the documentation comment.
-rw-r--r--crates/core_simd/src/vector/float.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/core_simd/src/vector/float.rs b/crates/core_simd/src/vector/float.rs
index 0e179d6fa76..ae900ff32a0 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"]