Skip to content

Commit

Permalink
Update lib.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
JSorngard authored Jun 24, 2024
1 parent ddfd5a1 commit fb81ec3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
//!
//! // Prime factorization
//! assert_eq!(CACHE.prime_factorization(3072).collect::<Vec<_>>(), &[(2, 10), (3, 1)]);
//! // and more!
//!
//! // If questions are asked about numbers outside the cache it returns None
//! assert!(CACHE.is_prime(1000).is_none());
Expand Down

0 comments on commit fb81ec3

Please sign in to comment.