about summary refs log tree commit diff
diff options
context:
space:
mode:
authorgstvg <28798827+gstvg@users.noreply.github.com>2024-08-29 01:53:13 -0300
committergstvg <28798827+gstvg@users.noreply.github.com>2024-08-29 01:53:13 -0300
commitbbcfdb5cbf201f7122c1665881bb28d78d2ee13b (patch)
treeed791520efcec2d6285e0b4738ad5e3d0c2a763c
parentf6519c5d70666bb654515aec637c5e5048745ad0 (diff)
downloadrust-bbcfdb5cbf201f7122c1665881bb28d78d2ee13b.tar.gz
rust-bbcfdb5cbf201f7122c1665881bb28d78d2ee13b.zip
fix: swizzle_mask docs
-rw-r--r--crates/core_simd/src/swizzle.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/core_simd/src/swizzle.rs b/crates/core_simd/src/swizzle.rs
index a4b6138aa0a..e0edb2cf10a 100644
--- a/crates/core_simd/src/swizzle.rs
+++ b/crates/core_simd/src/swizzle.rs
@@ -147,8 +147,7 @@ pub trait Swizzle<const N: usize> {
 
     /// Create a new mask from the elements of `mask`.
     ///
-    /// Element `i` of the output is `concat[Self::INDEX[i]]`, where `concat` is the concatenation of
-    /// `first` and `second`.
+    /// Element `i` of the output is `mask[Self::INDEX[i]]`.
     #[inline]
     #[must_use = "method returns a new mask and does not mutate the original inputs"]
     fn swizzle_mask<T, const M: usize>(mask: Mask<T, M>) -> Mask<T, N>