diff options
| author | Sam Shepard <sammysheep@users.noreply.github.com> | 2024-09-27 21:05:07 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-27 21:05:07 -0400 |
| commit | c9c0bf97f031cc7ab15209cd12b18ab72d019941 (patch) | |
| tree | 3bbab8aa4eed8dc21ca952259c47e7f938a09c22 | |
| parent | 8cff838daa3274c0c4f9bbef67c46587033e267d (diff) | |
| download | rust-c9c0bf97f031cc7ab15209cd12b18ab72d019941.tar.gz rust-c9c0bf97f031cc7ab15209cd12b18ab72d019941.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.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/core_simd/src/swizzle.rs b/crates/core_simd/src/swizzle.rs index a7833ea92c0..3b552016cb5 100644 --- a/crates/core_simd/src/swizzle.rs +++ b/crates/core_simd/src/swizzle.rs @@ -507,7 +507,7 @@ where /// Shifts the mask elements to the right by `OFFSET`, filling in with /// `padding` from the left. #[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_right<const OFFSET: usize>(self, padding: T) -> Self { // Safety: swizzles are safe for masks unsafe { Self::from_int_unchecked(self.to_int().shift_elements_right::<OFFSET>(padding)) } |
