chore: cargo +nightly clippy --fix -Z unstable-options

This commit is contained in:
Alexander Meißner
2021-06-18 15:34:46 +02:00
committed by Michael Vines
parent 3570b00560
commit 6514096a67
177 changed files with 1021 additions and 1021 deletions

View File

@@ -96,14 +96,14 @@ fn run_dos(
let res = rpc_client
.as_ref()
.unwrap()
.get_account(&Pubkey::from_str(&data_input.as_ref().unwrap()).unwrap());
.get_account(&Pubkey::from_str(data_input.as_ref().unwrap()).unwrap());
if res.is_err() {
error_count += 1;
}
}
"get_program_accounts" => {
let res = rpc_client.as_ref().unwrap().get_program_accounts(
&Pubkey::from_str(&data_input.as_ref().unwrap()).unwrap(),
&Pubkey::from_str(data_input.as_ref().unwrap()).unwrap(),
);
if res.is_err() {
error_count += 1;