add Debug trait to T in AccountsIndex (#18702)

This commit is contained in:
Jeff Washington (jwash) 2021-07-16 17:05:23 -05:00 committed by GitHub
parent 74539020b4
commit 181f21529d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -17,6 +17,7 @@ use std::{
btree_map::{self, BTreeMap, Entry},
HashSet,
},
fmt::Debug,
ops::{
Bound,
Bound::{Excluded, Included, Unbounded},
@ -675,8 +676,9 @@ impl<T> Default for AccountsIndex<T> {
}
}
impl<T: 'static + Clone + IsCached + ZeroLamport + std::marker::Sync + std::marker::Send>
AccountsIndex<T>
impl<
T: 'static + Clone + IsCached + ZeroLamport + std::marker::Sync + std::marker::Send + Debug,
> AccountsIndex<T>
{
fn iter<R>(&self, range: Option<R>) -> AccountsIndexIterator<T>
where