From 5024f87667b7b32e4313a287757bf601e4afbed3 Mon Sep 17 00:00:00 2001 From: pgherveou Date: Mon, 9 Sep 2024 16:54:55 +0200 Subject: [PATCH] fix fmt --- uint/tests/uint_tests.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/uint/tests/uint_tests.rs b/uint/tests/uint_tests.rs index e5890b38..61c03c86 100644 --- a/uint/tests/uint_tests.rs +++ b/uint/tests/uint_tests.rs @@ -525,8 +525,8 @@ fn uint256_mul_overflow() { #[should_panic] #[allow(unused_must_use)] fn uint256_mul_overflow_panic() { - U256::from_str("7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff").unwrap() - * U256::from_str("7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff").unwrap(); + U256::from_str("7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff").unwrap() * + U256::from_str("7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff").unwrap(); } #[test] @@ -600,8 +600,8 @@ fn uint256_shl_words() { #[test] fn uint256_mul() { assert_eq!( - U256::from_str("7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff").unwrap() - * U256::from_str("2").unwrap(), + U256::from_str("7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff").unwrap() * + U256::from_str("2").unwrap(), U256::from_str("fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe").unwrap() ); }