Skip to content

Commit e75a8d8

Browse files
committed
Fix clippy
1 parent b8df2c9 commit e75a8d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/core_simd/src/swizzle_dyn.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use crate::simd::{LaneCount, Select, Simd, SupportedLaneCount};
1+
use crate::simd::{LaneCount, Simd, SupportedLaneCount};
22
use core::mem;
33

44
impl<const N: usize> Simd<u8, N>
@@ -139,7 +139,7 @@ unsafe fn armv7_neon_swizzle_u8x16(bytes: Simd<u8, 16>, idxs: Simd<u8, 16>) -> S
139139
#[inline]
140140
#[allow(clippy::let_and_return)]
141141
unsafe fn avx2_pshufb(bytes: Simd<u8, 32>, idxs: Simd<u8, 32>) -> Simd<u8, 32> {
142-
use crate::simd::cmp::SimdPartialOrd;
142+
use crate::simd::{cmp::SimdPartialOrd, Select};
143143
#[cfg(target_arch = "x86")]
144144
use core::arch::x86;
145145
#[cfg(target_arch = "x86_64")]
@@ -200,7 +200,7 @@ fn zeroing_idxs<const N: usize>(idxs: Simd<u8, N>) -> Simd<u8, N>
200200
where
201201
LaneCount<N>: SupportedLaneCount,
202202
{
203-
use crate::simd::cmp::SimdPartialOrd;
203+
use crate::simd::{cmp::SimdPartialOrd, Select};
204204
idxs.simd_lt(Simd::splat(N as u8))
205205
.select(idxs, Simd::splat(u8::MAX))
206206
}

0 commit comments

Comments
 (0)