Re-add missing #[must_use]
This commit is contained in:
parent
c0b7df522f
commit
0315db3cc1
1 changed files with 1 additions and 0 deletions
|
|
@ -266,6 +266,7 @@ where
|
|||
/// 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…
Add table
Add a link
Reference in a new issue