From c064146098ce9ad3c795f8fc5e6b9ca44b6c72e6 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sat, 17 Feb 2024 09:55:06 +0100 Subject: [PATCH] remove unnecessary let binding --- library/stdarch/crates/core_arch/src/macros.rs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/library/stdarch/crates/core_arch/src/macros.rs b/library/stdarch/crates/core_arch/src/macros.rs index 4c3bbc9395c1..5fc6a548bf68 100644 --- a/library/stdarch/crates/core_arch/src/macros.rs +++ b/library/stdarch/crates/core_arch/src/macros.rs @@ -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 }) }}; }