Skip to content

Commit

Permalink
fix needless_collect
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbguy committed Sep 26, 2024
1 parent 5a061e7 commit e211eed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions basecoin/modules/src/bank/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,7 @@ where
account_id,
balances
.into_iter()
.map(|b| b.into())
.collect::<Vec<Coin>>(),
.map(|b| b.into()),
)
.unwrap();
}
Expand Down

0 comments on commit e211eed

Please sign in to comment.