Skip to content

Commit f60d57d

Browse files
RalfJungAmanieu
authored andcommitted
remove unnecessary let binding
1 parent a79a8de commit f60d57d

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

crates/core_arch/src/macros.rs

+1-8
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,7 @@ macro_rules! types {
6666
#[allow(unused)]
6767
macro_rules! simd_shuffle {
6868
($x:expr, $y:expr, $idx:expr $(,)?) => {{
69-
simd_shuffle(
70-
$x,
71-
$y,
72-
const {
73-
let v: [u32; _] = $idx;
74-
v
75-
},
76-
)
69+
simd_shuffle::<_, [u32; _], _>($x, $y, const { $idx })
7770
}};
7871
}
7972

0 commit comments

Comments
 (0)