From 3fb1f23114f815ccf3a2a90c98d12f9ad701b533 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johanna=20S=C3=B6rng=C3=A5rd?= Date: Tue, 7 May 2024 21:23:53 +0200 Subject: [PATCH] Add link to sieve_segment! to crate docs --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index f01fca9..c4fa0a1 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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);