Skip to content

Commit 4cc260e

Browse files
Update crates/core_simd/src/masks.rs
Co-authored-by: Jacob Lifshay <[email protected]>
1 parent d06dc5c commit 4cc260e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/core_simd/src/masks.rs

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

0 commit comments

Comments
 (0)