clippy (#23310)
This commit is contained in:
parent
7ee549e5ae
commit
c0d0724be0
|
@ -562,7 +562,7 @@ impl AccountsHash {
|
||||||
bin: usize,
|
bin: usize,
|
||||||
first_items: &'a mut Vec<Pubkey>,
|
first_items: &'a mut Vec<Pubkey>,
|
||||||
pubkey_division: &'b [Vec<Vec<CalculateHashIntermediate>>],
|
pubkey_division: &'b [Vec<Vec<CalculateHashIntermediate>>],
|
||||||
indexes: &'a mut Vec<usize>,
|
indexes: &'a mut [usize],
|
||||||
first_item_to_pubkey_division: &'a mut Vec<usize>,
|
first_item_to_pubkey_division: &'a mut Vec<usize>,
|
||||||
) -> &'b CalculateHashIntermediate {
|
) -> &'b CalculateHashIntermediate {
|
||||||
let first_item = first_items[min_index];
|
let first_item = first_items[min_index];
|
||||||
|
|
|
@ -7211,7 +7211,7 @@ pub(crate) mod tests {
|
||||||
|
|
||||||
fn store_accounts_for_rent_test(
|
fn store_accounts_for_rent_test(
|
||||||
bank: &Bank,
|
bank: &Bank,
|
||||||
keypairs: &mut Vec<Keypair>,
|
keypairs: &mut [Keypair],
|
||||||
mock_program_id: Pubkey,
|
mock_program_id: Pubkey,
|
||||||
generic_rent_due_for_system_account: u64,
|
generic_rent_due_for_system_account: u64,
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Reference in New Issue