Re-add missing #[must_use]
This commit is contained in:
parent
c0b7df522f
commit
0315db3cc1
@ -266,6 +266,7 @@ impl<const N: usize> 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 {
|
||||
|
Loading…
Reference in New Issue
Block a user