Skip to content

Commit

Permalink
Add the info about nonzero N to its own section
Browse files Browse the repository at this point in the history
  • Loading branch information
JSorngard committed Nov 13, 2024
1 parent 1119466 commit a78ba3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cache/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ impl<const N: usize> Primes<N> {
/// assert_eq!(primes.as_array(), &[2, 3, 5, 7, 11]);
/// ```
///
/// # Errors
///
/// It is a compile error to use an `N` of 0.
///
/// ```compile_fail
Expand Down

0 comments on commit a78ba3f

Please sign in to comment.