remove unnecessary lifetimes (#29988)

This commit is contained in:
Jeff Washington (jwash) 2023-01-30 16:11:10 -06:00 committed by GitHub
parent 8a56a856d8
commit ebf3ad5604
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -8169,10 +8169,10 @@ impl AccountsDb {
}
pub(crate) fn store_accounts_frozen<'a, T: ReadableAccount + Sync + ZeroLamport + 'a>(
&'a self,
&self,
accounts: impl StorableAccounts<'a, T>,
hashes: Option<Vec<impl Borrow<Hash>>>,
storage: Option<&'a Arc<AccountStorageEntry>>,
storage: Option<&Arc<AccountStorageEntry>>,
write_version_producer: Option<Box<dyn Iterator<Item = StoredMetaWriteVersion>>>,
reclaim: StoreReclaims,
) -> StoreAccountsTiming {
@ -8197,7 +8197,7 @@ impl AccountsDb {
&self,
accounts: impl StorableAccounts<'a, T>,
hashes: Option<Vec<impl Borrow<Hash>>>,
storage: Option<&'a Arc<AccountStorageEntry>>,
storage: Option<&Arc<AccountStorageEntry>>,
write_version_producer: Option<Box<dyn Iterator<Item = u64>>>,
is_cached_store: bool,
reset_accounts: bool,