AcctIdx: remove auto Debug trait (#19905)
This commit is contained in:
committed by
GitHub
parent
fb0c590090
commit
b467e7fb3b
@@ -15,7 +15,6 @@ use std::ops::RangeBounds;
|
||||
type K = Pubkey;
|
||||
|
||||
// one instance of this represents one bin of the accounts index.
|
||||
#[derive(Debug)]
|
||||
pub struct InMemAccountsIndex<T: IndexValue> {
|
||||
// backing store
|
||||
map_internal: RwLock<HashMap<Pubkey, AccountMapEntry<T>>>,
|
||||
@@ -23,6 +22,12 @@ pub struct InMemAccountsIndex<T: IndexValue> {
|
||||
bin: usize,
|
||||
}
|
||||
|
||||
impl<T: IndexValue> Debug for InMemAccountsIndex<T> {
|
||||
fn fmt(&self, _f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
impl<T: IndexValue> InMemAccountsIndex<T> {
|
||||
pub fn new(storage: &AccountsIndexStorage<T>, bin: usize) -> Self {
|
||||
Self {
|
||||
|
Reference in New Issue
Block a user