From 2ef3db9fab123bf52d60455e7c700288f5a473cc Mon Sep 17 00:00:00 2001 From: Anatoly Yakovenko Date: Wed, 11 Apr 2018 15:40:25 -0700 Subject: [PATCH] fix compile error --- src/accountant.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/accountant.rs b/src/accountant.rs index 7c8a5e5c4..01c59f308 100644 --- a/src/accountant.rs +++ b/src/accountant.rs @@ -443,8 +443,8 @@ mod bench { .collect(); bencher.iter(|| { // Since benchmarker runs this multiple times, we need to clear the signatures. - for (_, sigs) in acc.last_ids.read().unwrap().iter() { - sigs.write().unwrap().clear(); + for sigs in acc.last_ids.read().unwrap().iter() { + sigs.1.write().unwrap().clear(); } assert!(