Skip to content

Commit 8cff838

Browse files
Update crates/core_simd/src/swizzle.rs
Co-authored-by: Caleb Zulawski <caleb.zulawski@gmail.com>
1 parent f5fea57 commit 8cff838

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
@@ -498,7 +498,7 @@ where
498498
/// Shifts the mask elements to the left by `OFFSET`, filling in with
499499
/// `padding` from the right.
500500
#[inline]
501-
#[must_use = "method returns a new vector and does not mutate the original inputs"]
501+
#[must_use = "method returns a new mask and does not mutate the original inputs"]
502502
pub fn shift_elements_left<const OFFSET: usize>(self, padding: T) -> Self {
503503
// Safety: swizzles are safe for masks
504504
unsafe { Self::from_int_unchecked(self.to_int().shift_elements_left::<OFFSET>(padding)) }

0 commit comments

Comments
 (0)