We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8101074 commit b1245ffCopy full SHA for b1245ff
crates/core_simd/tests/ops_macros.rs
@@ -220,7 +220,7 @@ macro_rules! impl_common_integer_tests {
220
221
fn trailing_zeros<const LANES: usize>() {
222
test_helpers::test_unary_elementwise(
223
- &$vector::<LANES>::leading_zeros,
+ &$vector::<LANES>::trailing_zeros,
224
&|x| x.trailing_zeros() as $scalar,
225
&|_| true,
226
)
@@ -236,7 +236,7 @@ macro_rules! impl_common_integer_tests {
236
237
fn trailing_ones<const LANES: usize>() {
238
239
- &$vector::<LANES>::leading_ones,
+ &$vector::<LANES>::trailing_ones,
240
&|x| x.trailing_ones() as $scalar,
241
242
0 commit comments