Skip to content

Commit

Permalink
Merge pull request #434 from gstvg/fix_swizzle_docs
Browse files Browse the repository at this point in the history
Fix swizzle_mask docs
  • Loading branch information
calebzulawski authored Aug 29, 2024
2 parents f6519c5 + bbcfdb5 commit 8fdb4f8
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 8fdb4f8

Please sign in to comment.