From c23e53377922d8a842df55ededa6700e2b938d64 Mon Sep 17 00:00:00 2001 From: Snezhkko Date: Fri, 8 Aug 2025 05:55:10 +0300 Subject: [PATCH] refactor(witness): remove unnecessary curly braces in closure (#17752) Co-authored-by: Matthias Seitz --- .../engine/invalid-block-hooks/src/witness.rs | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/crates/engine/invalid-block-hooks/src/witness.rs b/crates/engine/invalid-block-hooks/src/witness.rs index 380eab61d5..7f37fd9c0f 100644 --- a/crates/engine/invalid-block-hooks/src/witness.rs +++ b/crates/engine/invalid-block-hooks/src/witness.rs @@ -65,17 +65,15 @@ impl BundleStateSorted { .clone() .into_iter() .map(|(address, account)| { - { - ( - address, - BundleAccountSorted { - info: account.info, - original_info: account.original_info, - status: account.status, - storage: BTreeMap::from_iter(account.storage), - }, - ) - } + ( + address, + BundleAccountSorted { + info: account.info, + original_info: account.original_info, + status: account.status, + storage: BTreeMap::from_iter(account.storage), + }, + ) }) .collect();