Skip to content
Snippets Groups Projects
Commit 196a6edd authored by Hugo Trentesaux's avatar Hugo Trentesaux
Browse files

fix clippy

°_°
parent b0a4c0e6
No related branches found
No related tags found
1 merge request!172Upgrade to Polkadot v0.9.42
Pipeline #33263 failed
...@@ -111,8 +111,7 @@ pub mod pallet { ...@@ -111,8 +111,7 @@ pub mod pallet {
// ensure no duplicate // ensure no duplicate
let endowed_accounts = self let endowed_accounts = self
.accounts .accounts
.iter() .keys()
.map(|(x, _)| x)
.cloned() .cloned()
.collect::<std::collections::BTreeSet<_>>(); .collect::<std::collections::BTreeSet<_>>();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment