From a78ba3fb7d85226166a432031258a391bcd1b736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johanna=20S=C3=B6rng=C3=A5rd?= Date: Wed, 13 Nov 2024 17:11:12 +0100 Subject: [PATCH] Add the info about nonzero N to its own section --- src/cache/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cache/mod.rs b/src/cache/mod.rs index 0442cce..98bf13a 100644 --- a/src/cache/mod.rs +++ b/src/cache/mod.rs @@ -88,6 +88,8 @@ impl Primes { /// assert_eq!(primes.as_array(), &[2, 3, 5, 7, 11]); /// ``` /// + /// # Errors + /// /// It is a compile error to use an `N` of 0. /// /// ```compile_fail