Skip to content

Commit

Permalink
Merge pull request #425 from gstvg/patch-1
Browse files Browse the repository at this point in the history
Fix Mask::all must_use attribute
  • Loading branch information
calebzulawski authored Jun 19, 2024
2 parents c79585c + 6e08442 commit f43e99a
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 f43e99a

Please sign in to comment.