diff --git a/crates/core_simd/src/vector.rs b/crates/core_simd/src/vector.rs index 475b7533a8b..b1be2a2a114 100644 --- a/crates/core_simd/src/vector.rs +++ b/crates/core_simd/src/vector.rs @@ -266,6 +266,7 @@ impl Swizzle<1, N> for Splat { /// let v = u32x4::from_slice(&source); /// assert_eq!(v.as_array(), &[1, 2, 3, 4]); /// ``` + #[must_use] #[inline] #[track_caller] pub const fn from_slice(slice: &[T]) -> Self {