Update crates/core_simd/src/masks.rs

Co-authored-by: Jacob Lifshay <programmerjake@gmail.com>
This commit is contained in:
Caleb Zulawski 2023-10-23 11:03:05 -04:00 committed by GitHub
parent d06dc5c269
commit 4cc260e497
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -202,7 +202,7 @@ where
/// Tests the value of the specified element.
///
/// # Safety
/// `element` must be less than `self.len()`.
/// `index` must be less than `self.len()`.
#[inline]
#[must_use = "method returns a new bool and does not mutate the original value"]
pub unsafe fn test_unchecked(&self, index: usize) -> bool {