We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cff838 commit c9c0bf9Copy full SHA for c9c0bf9
crates/core_simd/src/swizzle.rs
@@ -507,7 +507,7 @@ where
507
/// Shifts the mask elements to the right by `OFFSET`, filling in with
508
/// `padding` from the left.
509
#[inline]
510
- #[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"]
511
pub fn shift_elements_right<const OFFSET: usize>(self, padding: T) -> Self {
512
// Safety: swizzles are safe for masks
513
unsafe { Self::from_int_unchecked(self.to_int().shift_elements_right::<OFFSET>(padding)) }
0 commit comments