Skip to content

Commit 6e08442

Browse files
authored
Fix Mask::all must_use attribute
1 parent c79585c commit 6e08442

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)