Skip to content

Commit 6affbb9

Browse files
authored
Correct name of prime counting function
1 parent 2ae3b57 commit 6affbb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ assert_eq!(CACHE.prime_factorization(3072).collect(), &[(2, 10), (3, 1)])
4444
// If questions are asked about numbers
4545
// outside the cache it returns None
4646
assert!(CACHE.is_prime(1000).is_none());
47-
assert!(CACHE.count_primes_leq(1000).is_none());
47+
assert!(CACHE.prime_pi(1000).is_none());
4848
```
4949

5050
## Example: primality checking

0 commit comments

Comments
 (0)