diff --git a/crates/core_simd/src/masks.rs b/crates/core_simd/src/masks.rs index bbfd6567cbf0..1199153a5bd8 100644 --- a/crates/core_simd/src/masks.rs +++ b/crates/core_simd/src/masks.rs @@ -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 {