Skip to content

Commit

Permalink
More correct prime_counts docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
JSorngard committed Oct 22, 2023
1 parent b68599f commit b5aa6b7
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 @@ -472,7 +472,7 @@ pub const fn smallest_prime_geq(mut n: u64) -> Option<u64> {

/// Returns an array of size `N` where the value at a given index is how many primes are less than or equal to the index.
///
/// Computes primes with [`are_prime`] and then counts them.
/// Sieves primes with [`are_prime`] and then counts them.
///
/// # Example
/// Basic usage
Expand Down

0 comments on commit b5aa6b7

Please sign in to comment.