Skip to content

Commit

Permalink
pacify nightly clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
mvines committed Jul 1, 2022
1 parent 94685e1 commit fdb186b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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![],
}
);
Expand Down
1 change: 1 addition & 0 deletions runtime/benches/bank.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]),
Expand Down

0 comments on commit fdb186b

Please sign in to comment.