Skip to content

Commit f43e99a

Browse files
Merge pull request #425 from gstvg/patch-1
Fix Mask::all must_use attribute
2 parents c79585c + 6e08442 commit f43e99a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/core_simd/src/masks/full_masks.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ where
227227
}
228228

229229
#[inline]
230-
#[must_use = "method returns a new vector and does not mutate the original value"]
230+
#[must_use = "method returns a new bool and does not mutate the original value"]
231231
pub fn all(self) -> bool {
232232
// Safety: use `self` as an integer vector
233233
unsafe { core::intrinsics::simd::simd_reduce_all(self.to_int()) }

0 commit comments

Comments
 (0)