From 948b04927daf9a01cc878a232ed87817ce6eb157 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Fri, 13 Jan 2023 08:22:45 +1100 Subject: [PATCH] Remove unnecessary parenthesis Plain integer does not require parenthesis, remove them. --- bitcoin/src/pow.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitcoin/src/pow.rs b/bitcoin/src/pow.rs index 6a9bd7aa..ecf5714c 100644 --- a/bitcoin/src/pow.rs +++ b/bitcoin/src/pow.rs @@ -537,7 +537,7 @@ impl U256 { ret = ret.wrapping_add(mul_res << (64 * i)); } - let to_mul = (rhs >> (192)).low_u64(); + let to_mul = (rhs >> 192).low_u64(); let (mul_res, overflow) = self.mul_u64(to_mul); ret_overflow |= overflow; let (sum, overflow) = ret.overflowing_add(mul_res);