Fix test failures
This commit is contained in:
parent
2cc81ac531
commit
9f5fc563d3
@ -2526,7 +2526,7 @@ mod bitv_bench {
|
||||
for _ in range(0u, 100) {
|
||||
bitv |= 1 << ((r.next_u32() as uint) % u32::BITS);
|
||||
}
|
||||
black_box(&bitv)
|
||||
black_box(&bitv);
|
||||
});
|
||||
}
|
||||
|
||||
@ -2538,7 +2538,7 @@ mod bitv_bench {
|
||||
for _ in range(0u, 100) {
|
||||
bitv.set((r.next_u32() as uint) % BENCH_BITS, true);
|
||||
}
|
||||
black_box(&bitv)
|
||||
black_box(&bitv);
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -2841,7 +2841,7 @@ mod bench {
|
||||
let s = "ศไทย中华Việt Nam; Mary had a little lamb, Little lamb";
|
||||
|
||||
b.iter(|| {
|
||||
for ch in s.chars() { black_box(ch) }
|
||||
for ch in s.chars() { black_box(ch); }
|
||||
});
|
||||
}
|
||||
|
||||
@ -2869,7 +2869,7 @@ mod bench {
|
||||
let s = "ศไทย中华Việt Nam; Mary had a little lamb, Little lamb";
|
||||
|
||||
b.iter(|| {
|
||||
for ch in s.chars().rev() { black_box(ch) }
|
||||
for ch in s.chars().rev() { black_box(ch); }
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user