remove unnecessary generic args to make refactoring easier (#18619)

This commit is contained in:
Jeff Washington (jwash) 2021-07-13 12:05:23 -05:00 committed by GitHub
parent 0bd8710d34
commit bb41cf3461
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -646,7 +646,7 @@ impl<T> Default for AccountsIndex<T> {
Self {
account_maps: (0..BINS)
.into_iter()
.map(|_| RwLock::new(AccountMap::<Pubkey, AccountMapEntry<T>>::default()))
.map(|_| RwLock::new(AccountMap::default()))
.collect::<Vec<_>>(),
program_id_index: SecondaryIndex::<DashMapSecondaryIndexEntry>::new(
"program_id_index_stats",