Skip to content

Commit

Permalink
Add link to sieve_segment! to crate docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JSorngard committed May 7, 2024
1 parent 34395e4 commit 3fb1f23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
//! assert_eq!(PRIMES_LT, Ok([4_999_999_903, 4_999_999_937, 5_000_000_029]));
//! ```
//! If you do not wish to compute the required sieve size yourself,
//! you can use the provided macro [`primes_segment!`]:
//! you can use the provided macros [`primes_segment!`] or [`sieve_segment!`]:
//! ```
//! # use const_primes::{primes_segment, GenerationError};
//! const PRIMES_OVER_100: Result<[u64; 3], GenerationError> = primes_segment!(3; >= 100);
Expand Down

0 comments on commit 3fb1f23

Please sign in to comment.