clippy: Replaces .get(0) with .first() (#34150)
This commit is contained in:
parent
8c8cd66095
commit
c585e54988
|
@ -97,7 +97,7 @@ fn process_transaction_and_record_inner(
|
|||
Vec<Vec<InnerInstruction>>,
|
||||
Vec<String>,
|
||||
) {
|
||||
let signature = tx.signatures.get(0).unwrap().clone();
|
||||
let signature = tx.signatures.first().unwrap().clone();
|
||||
let txs = vec![tx];
|
||||
let tx_batch = bank.prepare_batch_for_tests(txs);
|
||||
let mut results = bank
|
||||
|
|
Loading…
Reference in New Issue