fix compile error

This commit is contained in:
Anatoly Yakovenko 2018-04-11 15:40:25 -07:00
parent 078179e9b8
commit 2ef3db9fab
1 changed files with 2 additions and 2 deletions

View File

@ -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!(