Skip to content

Commit

Permalink
Update crates/core_simd/src/swizzle.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Caleb Zulawski <caleb.zulawski@gmail.com>
  • Loading branch information
sammysheep and calebzulawski authored Sep 28, 2024
1 parent 8cff838 commit c9c0bf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core_simd/src/swizzle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ where
/// Shifts the mask elements to the right by `OFFSET`, filling in with
/// `padding` from the left.
#[inline]
#[must_use = "method returns a new vector and does not mutate the original inputs"]
#[must_use = "method returns a new mask and does not mutate the original inputs"]
pub fn shift_elements_right<const OFFSET: usize>(self, padding: T) -> Self {
// Safety: swizzles are safe for masks
unsafe { Self::from_int_unchecked(self.to_int().shift_elements_right::<OFFSET>(padding)) }
Expand Down

0 comments on commit c9c0bf9

Please sign in to comment.