From e211eed8e10fb27e020ceb6deaee696ff8a53360 Mon Sep 17 00:00:00 2001 From: Ranadeep Biswas Date: Thu, 26 Sep 2024 11:24:17 +0200 Subject: [PATCH] fix needless_collect --- basecoin/modules/src/bank/impls.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/basecoin/modules/src/bank/impls.rs b/basecoin/modules/src/bank/impls.rs index e71f881c..50f77a28 100644 --- a/basecoin/modules/src/bank/impls.rs +++ b/basecoin/modules/src/bank/impls.rs @@ -297,8 +297,7 @@ where account_id, balances .into_iter() - .map(|b| b.into()) - .collect::>(), + .map(|b| b.into()), ) .unwrap(); }