From 8cff838daa3274c0c4f9bbef67c46587033e267d Mon Sep 17 00:00:00 2001 From: Sam Shepard Date: Fri, 27 Sep 2024 21:04:49 -0400 Subject: [PATCH] Update crates/core_simd/src/swizzle.rs Co-authored-by: Caleb Zulawski --- crates/core_simd/src/swizzle.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/core_simd/src/swizzle.rs b/crates/core_simd/src/swizzle.rs index 6353196e4cf..a7833ea92c0 100644 --- a/crates/core_simd/src/swizzle.rs +++ b/crates/core_simd/src/swizzle.rs @@ -498,7 +498,7 @@ where /// Shifts the mask elements to the left by `OFFSET`, filling in with /// `padding` from the right. #[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_left(self, padding: T) -> Self { // Safety: swizzles are safe for masks unsafe { Self::from_int_unchecked(self.to_int().shift_elements_left::(padding)) }