Skip to content

Commit

Permalink
Remove unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
JSorngard committed Oct 22, 2023
1 parent 281d3b4 commit 3c38bba
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -490,9 +490,6 @@ pub const fn prime_counts<const N: usize>() -> [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;
Expand Down

0 comments on commit 3c38bba

Please sign in to comment.