diff options
| author | gstvg <28798827+gstvg@users.noreply.github.com> | 2024-08-29 01:53:13 -0300 |
|---|---|---|
| committer | gstvg <28798827+gstvg@users.noreply.github.com> | 2024-08-29 01:53:13 -0300 |
| commit | bbcfdb5cbf201f7122c1665881bb28d78d2ee13b (patch) | |
| tree | ed791520efcec2d6285e0b4738ad5e3d0c2a763c | |
| parent | f6519c5d70666bb654515aec637c5e5048745ad0 (diff) | |
| download | rust-bbcfdb5cbf201f7122c1665881bb28d78d2ee13b.tar.gz rust-bbcfdb5cbf201f7122c1665881bb28d78d2ee13b.zip | |
fix: swizzle_mask docs
| -rw-r--r-- | crates/core_simd/src/swizzle.rs | 3 |
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> |
