Fix test failures

This commit is contained in:
Travis Watkins 2015-01-13 05:43:30 -06:00
parent 2cc81ac531
commit 9f5fc563d3
2 changed files with 4 additions and 4 deletions

View File

@ -2526,7 +2526,7 @@ fn bench_uint_small(b: &mut Bencher) {
for _ in range(0u, 100) {
bitv |= 1 << ((r.next_u32() as uint) % u32::BITS);
}
black_box(&bitv)
black_box(&bitv);
});
}
@ -2538,7 +2538,7 @@ fn bench_bitv_set_big_fixed(b: &mut Bencher) {
for _ in range(0u, 100) {
bitv.set((r.next_u32() as uint) % BENCH_BITS, true);
}
black_box(&bitv)
black_box(&bitv);
});
}

View File

@ -2841,7 +2841,7 @@ fn char_iterator_for(b: &mut Bencher) {
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 @@ fn char_iterator_rev_for(b: &mut Bencher) {
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); }
});
}