Fix examples and benchmarks.

This commit is contained in:
Stephen Chung
2020-04-22 19:28:08 +08:00
parent ef9d870a82
commit 97520f14a9
2 changed files with 4 additions and 2 deletions

View File

@@ -74,7 +74,8 @@ fn bench_parse_primes(bench: &mut Bencher) {
let prime_mask = [];
prime_mask.pad(MAX_NUMBER_TO_CHECK, true);
prime_mask[0] = prime_mask[1] = false;
prime_mask[0] = false;
prime_mask[1] = false;
let total_primes_found = 0;