remove unnecessary lifetime (#30019)
This commit is contained in:
parent
e11c22a13c
commit
67d3beeb35
|
@ -3690,7 +3690,7 @@ impl AccountsDb {
|
|||
/// unref and optionally store a reference to all pubkeys that are in the index, but dead in `unrefed_pubkeys`
|
||||
/// return sum of account size for all alive accounts
|
||||
fn load_accounts_index_for_shrink<'a, T: ShrinkCollectRefs<'a>>(
|
||||
&'a self,
|
||||
&self,
|
||||
accounts: &'a [StoredAccountMeta<'a>],
|
||||
stats: &ShrinkStats,
|
||||
slot_to_shrink: Slot,
|
||||
|
@ -3781,7 +3781,7 @@ impl AccountsDb {
|
|||
/// shared code for shrinking normal slots and combining into ancient append vecs
|
||||
/// note 'unique_accounts' is passed by ref so we can return references to data within it, avoiding self-references
|
||||
pub(crate) fn shrink_collect<'a: 'b, 'b, T: ShrinkCollectRefs<'b>>(
|
||||
&'a self,
|
||||
&self,
|
||||
store: &'a Arc<AccountStorageEntry>,
|
||||
unique_accounts: &'b GetUniqueAccountsResult<'b>,
|
||||
stats: &ShrinkStats,
|
||||
|
|
|
@ -1343,7 +1343,7 @@ impl<T: IndexValue> AccountsIndex<T> {
|
|||
/// apply 'avoid_callback_result' if specified.
|
||||
/// otherwise, call `callback`
|
||||
pub(crate) fn scan<'a, F, I>(
|
||||
&'a self,
|
||||
&self,
|
||||
pubkeys: I,
|
||||
mut callback: F,
|
||||
avoid_callback_result: Option<AccountsIndexScanResult>,
|
||||
|
|
Loading…
Reference in New Issue