Skip to content

Commit b1245ff

Browse files
committed
Fix bad copy-paste
1 parent 8101074 commit b1245ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/core_simd/tests/ops_macros.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ macro_rules! impl_common_integer_tests {
220220

221221
fn trailing_zeros<const LANES: usize>() {
222222
test_helpers::test_unary_elementwise(
223-
&$vector::<LANES>::leading_zeros,
223+
&$vector::<LANES>::trailing_zeros,
224224
&|x| x.trailing_zeros() as $scalar,
225225
&|_| true,
226226
)
@@ -236,7 +236,7 @@ macro_rules! impl_common_integer_tests {
236236

237237
fn trailing_ones<const LANES: usize>() {
238238
test_helpers::test_unary_elementwise(
239-
&$vector::<LANES>::leading_ones,
239+
&$vector::<LANES>::trailing_ones,
240240
&|x| x.trailing_ones() as $scalar,
241241
&|_| true,
242242
)

0 commit comments

Comments
 (0)