Skip to content

Commit bbcfdb5

Browse files
committed
fix: swizzle_mask docs
1 parent f6519c5 commit bbcfdb5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crates/core_simd/src/swizzle.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,7 @@ pub trait Swizzle<const N: usize> {
147147

148148
/// Create a new mask from the elements of `mask`.
149149
///
150-
/// Element `i` of the output is `concat[Self::INDEX[i]]`, where `concat` is the concatenation of
151-
/// `first` and `second`.
150+
/// Element `i` of the output is `mask[Self::INDEX[i]]`.
152151
#[inline]
153152
#[must_use = "method returns a new mask and does not mutate the original inputs"]
154153
fn swizzle_mask<T, const M: usize>(mask: Mask<T, M>) -> Mask<T, N>

0 commit comments

Comments
 (0)