Skip to content

Commit c9c0bf9

Browse files
Update crates/core_simd/src/swizzle.rs
Co-authored-by: Caleb Zulawski <[email protected]>
1 parent 8cff838 commit c9c0bf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/core_simd/src/swizzle.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ where
507507
/// Shifts the mask elements to the right by `OFFSET`, filling in with
508508
/// `padding` from the left.
509509
#[inline]
510-
#[must_use = "method returns a new vector and does not mutate the original inputs"]
510+
#[must_use = "method returns a new mask and does not mutate the original inputs"]
511511
pub fn shift_elements_right<const OFFSET: usize>(self, padding: T) -> Self {
512512
// Safety: swizzles are safe for masks
513513
unsafe { Self::from_int_unchecked(self.to_int().shift_elements_right::<OFFSET>(padding)) }

0 commit comments

Comments
 (0)