pacify nightly clippy

This commit is contained in:
Michael Vines 2022-07-01 02:14:33 +00:00
parent 94685e1222
commit fdb186ba3b
2 changed files with 2 additions and 1 deletions

View File

@ -1923,7 +1923,7 @@ mod tests {
assert_eq!(
parse_command(&test_resolve_signer, &default_signer, &mut None).unwrap(),
CliCommandInfo {
command: CliCommand::ResolveSigner(Some(keypair_file.clone())),
command: CliCommand::ResolveSigner(Some(keypair_file)),
signers: vec![],
}
);

View File

@ -119,6 +119,7 @@ fn async_bencher(bank: &Arc<Bank>, bank_client: &BankClient, transactions: &[Tra
}
}
#[allow(clippy::type_complexity)]
fn do_bench_transactions(
bencher: &mut Bencher,
bench_work: &dyn Fn(&Arc<Bank>, &BankClient, &[Transaction]),