diff --git a/accounts-db/src/accounts_db.rs b/accounts-db/src/accounts_db.rs index 169e3d498f3fa3..59e8c5cc232ce6 100644 --- a/accounts-db/src/accounts_db.rs +++ b/accounts-db/src/accounts_db.rs @@ -821,7 +821,7 @@ impl<'a> MultiThreadProgress<'a> { pub type AtomicAccountsFileId = AtomicU32; pub type AccountsFileId = u32; -type AccountSlots = HashMap>; +type AccountSlots = HashMap>; type SlotOffsets = HashMap>; type ReclaimResult = (AccountSlots, SlotOffsets); type PubkeysRemovedFromAccountsIndex = HashSet; @@ -15443,7 +15443,7 @@ pub mod tests { &pubkeys_removed_from_accounts_index, ); assert_eq!( - vec![(pk1, vec![slot1].into_iter().collect::>())], + vec![(pk1, vec![slot1].into_iter().collect::>())], purged_stored_account_slots.into_iter().collect::>() ); let expected = u64::from(already_removed); @@ -15497,7 +15497,7 @@ pub mod tests { &pubkeys_removed_from_accounts_index, ); assert_eq!( - vec![(pk1, vec![slot1].into_iter().collect::>())], + vec![(pk1, vec![slot1].into_iter().collect::>())], purged_stored_account_slots.into_iter().collect::>() ); assert_eq!(db.accounts_index.ref_count_from_storage(&pk1), 0); @@ -15535,7 +15535,7 @@ pub mod tests { ); for (pk, slots) in [(pk1, vec![slot1, slot2]), (pk2, vec![slot1])] { let result = purged_stored_account_slots.remove(&pk).unwrap(); - assert_eq!(result, slots.into_iter().collect::>()); + assert_eq!(result, slots.into_iter().collect::>()); } assert!(purged_stored_account_slots.is_empty()); assert_eq!(db.accounts_index.ref_count_from_storage(&pk1), 0);