about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSam Shepard <sammysheep@users.noreply.github.com>2024-09-27 21:04:49 -0400
committerGitHub <noreply@github.com>2024-09-27 21:04:49 -0400
commit8cff838daa3274c0c4f9bbef67c46587033e267d (patch)
treea6cf84b48632f3a0530b052aff8395f5441fbc75
parentf5fea5702863eb9ff30b42ee4e8942d9f70eea54 (diff)
downloadrust-8cff838daa3274c0c4f9bbef67c46587033e267d.tar.gz
rust-8cff838daa3274c0c4f9bbef67c46587033e267d.zip
Update crates/core_simd/src/swizzle.rs
Co-authored-by: Caleb Zulawski <caleb.zulawski@gmail.com>
-rw-r--r--crates/core_simd/src/swizzle.rs2
1 files changed, 1 insertions, 1 deletions
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<const OFFSET: usize>(self, padding: T) -> Self {
         // Safety: swizzles are safe for masks
         unsafe { Self::from_int_unchecked(self.to_int().shift_elements_left::<OFFSET>(padding)) }