Skip to content

Commit 20d599c

Browse files
committed
Fewer references in cont
1 parent b1af10e commit 20d599c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/check.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ pub const fn is_prime(n: u64) -> bool {
4545
// in order to make the test both fast and deterministic.
4646
// This list of witnesses was taken from
4747
// <https://en.wikipedia.org/wiki/Miller%E2%80%93Rabin_primality_test#Testing_against_small_sets_of_bases>.
48-
const WITNESSES: &[(u64, &[u64])] = &[
48+
const WITNESSES: [(u64, &[u64]); 11] = [
4949
(2_046, &[2]),
5050
(1_373_652, &[2, 3]),
5151
(9_080_190, &[31, 73]),

0 commit comments

Comments
 (0)