Skip to content

Commit

Permalink
fix: swizzle_mask docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gstvg committed Aug 29, 2024
1 parent f6519c5 commit bbcfdb5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/core_simd/src/swizzle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit bbcfdb5

Please sign in to comment.