Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit c0d0724

Browse files
clippy (#23310)
1 parent 7ee549e commit c0d0724

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

runtime/src/accounts_hash.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ impl AccountsHash {
562562
bin: usize,
563563
first_items: &'a mut Vec<Pubkey>,
564564
pubkey_division: &'b [Vec<Vec<CalculateHashIntermediate>>],
565-
indexes: &'a mut Vec<usize>,
565+
indexes: &'a mut [usize],
566566
first_item_to_pubkey_division: &'a mut Vec<usize>,
567567
) -> &'b CalculateHashIntermediate {
568568
let first_item = first_items[min_index];

runtime/src/bank.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7211,7 +7211,7 @@ pub(crate) mod tests {
72117211

72127212
fn store_accounts_for_rent_test(
72137213
bank: &Bank,
7214-
keypairs: &mut Vec<Keypair>,
7214+
keypairs: &mut [Keypair],
72157215
mock_program_id: Pubkey,
72167216
generic_rent_due_for_system_account: u64,
72177217
) {

0 commit comments

Comments
 (0)