diff --git a/src/generation.rs b/src/generation.rs index d7a0d51..3d1656d 100644 --- a/src/generation.rs +++ b/src/generation.rs @@ -115,6 +115,8 @@ pub const fn primes() -> [Underlying; N] { /// /// If you want to compute primes that are larger than some limit, take a look at [`primes_geq`]. /// +/// If you do not wish to compute the size of the sieve manually, take a look at [`primes_segment!`]. +/// /// # Example /// /// Basic usage: @@ -259,6 +261,8 @@ macro_rules! primes_segment { /// /// If you want to compute primes smaller than some limit, take a look at [`primes_lt`]. /// +/// If you do not wish to compute the size of the sieve manually, take a look at [`primes_segment!`]. +/// /// # Examples /// /// Basic usage: