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 f5fea57 commit 8cff838Copy full SHA for 8cff838
crates/core_simd/src/swizzle.rs
@@ -498,7 +498,7 @@ where
498
/// Shifts the mask elements to the left by `OFFSET`, filling in with
499
/// `padding` from the right.
500
#[inline]
501
- #[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"]
502
pub fn shift_elements_left<const OFFSET: usize>(self, padding: T) -> Self {
503
// Safety: swizzles are safe for masks
504
unsafe { Self::from_int_unchecked(self.to_int().shift_elements_left::<OFFSET>(padding)) }
0 commit comments