diff options
| author | Caleb Zulawski <caleb.zulawski@gmail.com> | 2024-08-29 01:16:52 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-29 01:16:52 -0400 |
| commit | 8fdb4f8882c1a3fb5d75b1f7ee3fe03d45ca087b (patch) | |
| tree | ed791520efcec2d6285e0b4738ad5e3d0c2a763c | |
| parent | f6519c5d70666bb654515aec637c5e5048745ad0 (diff) | |
| parent | bbcfdb5cbf201f7122c1665881bb28d78d2ee13b (diff) | |
| download | rust-8fdb4f8882c1a3fb5d75b1f7ee3fe03d45ca087b.tar.gz rust-8fdb4f8882c1a3fb5d75b1f7ee3fe03d45ca087b.zip | |
Merge pull request #434 from gstvg/fix_swizzle_docs
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> |
