From 8fa432a8c276178bd51b8ceb6932ae83e355106e Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sat, 17 Feb 2024 09:55:06 +0100 Subject: [PATCH] remove unnecessary type annotation --- crates/core_arch/src/macros.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/crates/core_arch/src/macros.rs b/crates/core_arch/src/macros.rs index 223e69317c..28e62f8c51 100644 --- a/crates/core_arch/src/macros.rs +++ b/crates/core_arch/src/macros.rs @@ -69,10 +69,7 @@ macro_rules! simd_shuffle { simd_shuffle( $x, $y, - const { - let v: [u32; _] = $idx; - v - }, + const { $idx }, ) }}; }