From 3c38bba0b1e39bc5d0e51d215ea4ba90912cd78d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johanna=20S=C3=B6rng=C3=A5rd?= Date: Sun, 22 Oct 2023 19:40:37 +0200 Subject: [PATCH] Remove unnecessary check --- src/lib.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 6ca2c10..b7ac8f9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -490,9 +490,6 @@ pub const fn prime_counts() -> [usize; N] { if N > 2 { counts[2] = 1; } - if N > 3 { - counts[3] = 2; - } let prime_status: [bool; N] = are_prime(); let mut count = 1;