From 4cc260e497114b4bae3c095eddaf58dfc07dea68 Mon Sep 17 00:00:00 2001 From: Caleb Zulawski Date: Mon, 23 Oct 2023 11:03:05 -0400 Subject: [PATCH] Update crates/core_simd/src/masks.rs Co-authored-by: Jacob Lifshay --- crates/core_simd/src/masks.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {