From 3936c10aa0bf1e1fa5686f34ce6991e90730f763 Mon Sep 17 00:00:00 2001 From: "Jeff Washington (jwash)" <75863576+jeffwashington@users.noreply.github.com> Date: Thu, 2 Sep 2021 19:55:35 -0500 Subject: [PATCH] rename var (#19588) --- runtime/src/accounts_db.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/src/accounts_db.rs b/runtime/src/accounts_db.rs index a0defff1e..911682ee7 100644 --- a/runtime/src/accounts_db.rs +++ b/runtime/src/accounts_db.rs @@ -6411,8 +6411,8 @@ impl AccountsDb { #[allow(clippy::stable_sort_primitive)] roots.sort(); info!("{}: accounts_index roots: {:?}", label, roots,); - self.accounts_index.account_maps.iter().for_each(|i| { - for (pubkey, account_entry) in i.read().unwrap().iter() { + self.accounts_index.account_maps.iter().for_each(|map| { + for (pubkey, account_entry) in map.read().unwrap().iter() { info!(" key: {} ref_count: {}", pubkey, account_entry.ref_count(),); info!( " slots: {:?}",