chore: fix clippy warnings for needless_borrows_for_generic_args (#9387)

This commit is contained in:
Federico Gimenez
2024-07-09 11:47:14 +02:00
committed by GitHub
parent 9c0bc8477a
commit 38f4c6118c
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ impl Wallet {
let mut wallets = Vec::with_capacity(self.amount);
for idx in 0..self.amount {
let builder =
builder.clone().derivation_path(&format!("{derivation_path}{idx}")).unwrap();
builder.clone().derivation_path(format!("{derivation_path}{idx}")).unwrap();
let wallet = builder.build().unwrap().with_chain_id(Some(self.chain_id));
wallets.push(wallet)
}