Merge pull request #120 from aeyakovenko/fix_bench_compile
fix compile error
This commit is contained in:
commit
ab2093926a
|
@ -443,8 +443,8 @@ mod bench {
|
||||||
.collect();
|
.collect();
|
||||||
bencher.iter(|| {
|
bencher.iter(|| {
|
||||||
// Since benchmarker runs this multiple times, we need to clear the signatures.
|
// Since benchmarker runs this multiple times, we need to clear the signatures.
|
||||||
for (_, sigs) in acc.last_ids.read().unwrap().iter() {
|
for sigs in acc.last_ids.read().unwrap().iter() {
|
||||||
sigs.write().unwrap().clear();
|
sigs.1.write().unwrap().clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
assert!(
|
assert!(
|
||||||
|
|
Loading…
Reference in New Issue