Skip to content

Commit

Permalink
remove unnecessary to_vec() (solana-labs#29516)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffwashington authored and gnapoli23 committed Jan 10, 2023
1 parent c95d36d commit 548bf67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/src/accounts_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17198,7 +17198,7 @@ pub mod tests {
);
});

let storages = db.get_storages_for_slot(slot5).unwrap().to_vec();
let storages = db.get_storages_for_slot(slot5).unwrap();
let mut stored_accounts = Vec::default();
assert_eq!(storages.len(), 1);
let shrink_collect = db.shrink_collect(
Expand Down

0 comments on commit 548bf67

Please sign in to comment.