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 1bfe7f2 commit 1bcf58c
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,13 +66,6 @@ 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 })
}};
}

0 comments on commit 1bcf58c

Please sign in to comment.