From 91fa64ee434b8031e8c510e4343b588c82a85c4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johanna=20S=C3=B6rng=C3=A5rd?= Date: Wed, 20 Nov 2024 15:15:39 +0100 Subject: [PATCH] There are other usecases than making a constant --- src/generate.rs | 2 +- src/sieve.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/generate.rs b/src/generate.rs index a7e4ce1..cadb49e 100644 --- a/src/generate.rs +++ b/src/generate.rs @@ -237,7 +237,7 @@ pub const fn primes_lt( } /// Generate arrays of large prime numbers without having to store all primes -/// from 2 and up in the constant, and thus the binary. +/// from 2 and up in the result, and thus potentially the binary. /// /// Calls [`primes_geq`] or [`primes_lt`], and automatically computes the memory requirement of the sieve. /// diff --git a/src/sieve.rs b/src/sieve.rs index 7435eb4..78f0fa5 100644 --- a/src/sieve.rs +++ b/src/sieve.rs @@ -392,7 +392,7 @@ pub const fn sieve_geq( } /// Generate arrays of the prime status of large numbers without having to store the prime status -/// of every single integer smaller than the target in the resulting constant, and thus the binary. +/// of every single integer smaller than the target in the result, and thus potentially the binary. /// /// Calls [`sieve_geq`] or [`sieve_lt`], and automatically computes the memory requirement of the sieve. ///