add PartialEq, Eq and spell correction (#26614)
This commit is contained in:
parent
3e9bd6170c
commit
819d6512ab
|
@ -72,7 +72,7 @@ pub type SlotSlice<'s, T> = &'s [(Slot, T)];
|
|||
pub type RefCount = u64;
|
||||
pub type AccountMap<V> = Arc<InMemAccountsIndex<V>>;
|
||||
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
||||
/// how accounts index 'upsert' should handle reclaims
|
||||
pub enum UpsertReclaim {
|
||||
/// previous entry for this slot in the index is expected to be cached, so irrelevant to reclaims
|
||||
|
@ -80,7 +80,7 @@ pub enum UpsertReclaim {
|
|||
/// previous entry for this slot in the index may need to be reclaimed, so return it.
|
||||
/// reclaims is the only output of upsert, requiring a synchronous execution
|
||||
PopulateReclaims,
|
||||
/// overwrite existing data in the same slot and do not return in 'relaims'
|
||||
/// overwrite existing data in the same slot and do not return in 'reclaims'
|
||||
IgnoreReclaims,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue