Fix bad copy-paste
This commit is contained in:
parent
8101074e2e
commit
b1245ffb12
@ -220,7 +220,7 @@ macro_rules! impl_common_integer_tests {
|
||||
|
||||
fn trailing_zeros<const LANES: usize>() {
|
||||
test_helpers::test_unary_elementwise(
|
||||
&$vector::<LANES>::leading_zeros,
|
||||
&$vector::<LANES>::trailing_zeros,
|
||||
&|x| x.trailing_zeros() as $scalar,
|
||||
&|_| true,
|
||||
)
|
||||
@ -236,7 +236,7 @@ macro_rules! impl_common_integer_tests {
|
||||
|
||||
fn trailing_ones<const LANES: usize>() {
|
||||
test_helpers::test_unary_elementwise(
|
||||
&$vector::<LANES>::leading_ones,
|
||||
&$vector::<LANES>::trailing_ones,
|
||||
&|x| x.trailing_ones() as $scalar,
|
||||
&|_| true,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user