Skip to content

Commit 6f6fdbc

Browse files
authored
Update README.md
1 parent 667c3fa commit 6f6fdbc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ to store in the binary and the size of the sieve used during evaluation. The sie
5555
of the square root of the largest encountered value:
5656
```rust
5757
// ceil(sqrt(5_000_000_063)) = 70_711
58-
const PRIMES_GEQ: const_primes::Result<3> = primes_geq::<3, 70_711>(5_000_000_031);
59-
assert_eq!(PRIMES_GEQ?, [5_000_000_039, 5_000_000_059, 5_000_000_063]);
58+
const PRIMES_GEQ: Result<[u64; 3], const_primes::Error> = primes_geq::<3, 70_711>(5_000_000_031);
59+
assert_eq!(PRIMES_GEQ, Ok([5_000_000_039, 5_000_000_059, 5_000_000_063]));
6060
```
6161
```rust
6262
const N: usize = 70711;

0 commit comments

Comments
 (0)