From 1f98ab8d75f99bab57efb4ca24a31ff81442e8f9 Mon Sep 17 00:00:00 2001 From: Devin Bidwell Date: Thu, 1 Jan 2026 14:01:14 -0700 Subject: [PATCH] Removed unneeded parenthesis --- rust_compiler/libs/optimizer/src/constant_propagation.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust_compiler/libs/optimizer/src/constant_propagation.rs b/rust_compiler/libs/optimizer/src/constant_propagation.rs index 8e6d6a0..20e3079 100644 --- a/rust_compiler/libs/optimizer/src/constant_propagation.rs +++ b/rust_compiler/libs/optimizer/src/constant_propagation.rs @@ -39,7 +39,7 @@ pub fn constant_propagation<'a>( }), Instruction::Sra(dst, a, b) => try_fold_bitwise(dst, a, b, ®isters, |x, y| { if y >= 64 { - (if x < 0 { -1 } else { 0 }) + if x < 0 { -1 } else { 0 } } else { x >> y as u32 }