Skip to content

Commit

Permalink
Fix Mask::all must_use attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
gstvg authored Jun 19, 2024
1 parent c79585c commit 6e08442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core_simd/src/masks/full_masks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ where
}

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

0 comments on commit 6e08442

Please sign in to comment.