Merge pull request #120 from aeyakovenko/fix_bench_compile

fix compile error
This commit is contained in:
Greg Fitzgerald 2018-04-11 18:01:13 -06:00 committed by GitHub
commit ab2093926a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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!(