Skip to content

Commit 0315db3

Browse files
committed
Re-add missing #[must_use]
1 parent c0b7df5 commit 0315db3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/core_simd/src/vector.rs

+1
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ where
266266
/// let v = u32x4::from_slice(&source);
267267
/// assert_eq!(v.as_array(), &[1, 2, 3, 4]);
268268
/// ```
269+
#[must_use]
269270
#[inline]
270271
#[track_caller]
271272
pub const fn from_slice(slice: &[T]) -> Self {

0 commit comments

Comments
 (0)