Skip to content

Commit

Permalink
fix tests after clippy changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pgarg66 committed May 16, 2023
1 parent c937ecf commit 042ad73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions runtime/src/accounts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1531,8 +1531,8 @@ mod tests {
executed_units: 0,
accounts_data_len_delta: 0,
},
programs_modified_by_tx: LoadedProgramsForTxBatch::default(),
programs_updated_only_for_global_cache: LoadedProgramsForTxBatch::default(),
programs_modified_by_tx: Box::<LoadedProgramsForTxBatch>::default(),
programs_updated_only_for_global_cache: Box::<LoadedProgramsForTxBatch>::default(),
}
}

Expand Down
4 changes: 2 additions & 2 deletions runtime/src/bank/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,8 @@ fn new_execution_result(
executed_units: 0,
accounts_data_len_delta: 0,
},
programs_modified_by_tx: LoadedProgramsForTxBatch::default(),
programs_updated_only_for_global_cache: LoadedProgramsForTxBatch::default(),
programs_modified_by_tx: Box::<LoadedProgramsForTxBatch>::default(),
programs_updated_only_for_global_cache: Box::<LoadedProgramsForTxBatch>::default(),
}
}

Expand Down

0 comments on commit 042ad73

Please sign in to comment.