From 181f21529dda9089147e698ad49d7867a9492efb Mon Sep 17 00:00:00 2001 From: "Jeff Washington (jwash)" <75863576+jeffwashington@users.noreply.github.com> Date: Fri, 16 Jul 2021 17:05:23 -0500 Subject: [PATCH] add Debug trait to T in AccountsIndex (#18702) --- runtime/src/accounts_index.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/runtime/src/accounts_index.rs b/runtime/src/accounts_index.rs index d90cf74ba9..948f0ae651 100644 --- a/runtime/src/accounts_index.rs +++ b/runtime/src/accounts_index.rs @@ -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 Default for AccountsIndex { } } -impl - AccountsIndex +impl< + T: 'static + Clone + IsCached + ZeroLamport + std::marker::Sync + std::marker::Send + Debug, + > AccountsIndex { fn iter(&self, range: Option) -> AccountsIndexIterator where