refactor(witness): remove unnecessary curly braces in closure (#17752)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Snezhkko
2025-08-08 05:55:10 +03:00
committed by GitHub
parent 82bbed9795
commit c23e533779

View File

@@ -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();