Skip to content

Commit

Permalink
remove unnecessary let binding
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Feb 17, 2024
1 parent d1013a2 commit 96dd229
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions crates/core_arch/src/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,7 @@ macro_rules! types {
#[allow(unused)]
macro_rules! simd_shuffle {
($x:expr, $y:expr, $idx:expr $(,)?) => {{
simd_shuffle(
$x,
$y,
const {
let v: [u32; _] = $idx;
v
},
)
simd_shuffle::<_, [u32; _], _>($x, $y, const { $idx })
}};
}

Expand Down

0 comments on commit 96dd229

Please sign in to comment.