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 10168fb commit 98e4fcaCopy full SHA for 98e4fca
crates/core_simd/src/swizzle.rs
@@ -36,8 +36,7 @@ macro_rules! simd_shuffle {
36
$vector:expr, $index:expr $(,)?
37
} => {
38
{
39
- // FIXME this won't work when we are in `core`!
40
- use $crate::Swizzle;
+ use $crate::simd::Swizzle;
41
struct Shuffle;
42
impl Swizzle<{$index.len()}, {$index.len()}> for Shuffle {
43
const INDEX: [usize; {$index.len()}] = $index;
@@ -49,8 +48,7 @@ macro_rules! simd_shuffle {
49
48
$first:expr, $second:expr, $index:expr $(,)?
50
51
52
53
- use $crate::{Which, Swizzle2};
+ use $crate::simd::{Which, Swizzle2};
54
55
impl Swizzle2<{$index.len()}, {$index.len()}> for Shuffle {
56
const INDEX: [Which; {$index.len()}] = $index;
0 commit comments