Skip to content

Commit

Permalink
There are other usecases than making a constant
Browse files Browse the repository at this point in the history
  • Loading branch information
JSorngard committed Nov 20, 2024
1 parent 99648b6 commit 91fa64e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/generate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ pub const fn primes_lt<const N: usize, const MEM: usize>(
}

/// 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.
///
Expand Down
2 changes: 1 addition & 1 deletion src/sieve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ pub const fn sieve_geq<const N: usize, const MEM: usize>(
}

/// 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.
///
Expand Down

0 comments on commit 91fa64e

Please sign in to comment.