51: replace skip with skip_while

This commit is contained in:
Dr. Matthias Ratajczak
2022-08-30 17:40:04 +02:00
parent 2f6c1ef96b
commit e3c5151a82
2 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ fn main() {
MAX_PATTERN_LENGTH,
AMOUNT_OF_DIGITS_IN_NUMBER,
) {
for prime in &all_primes.vector {
for prime in all_primes.iter() {
primes_matching_pattern.clear();
let digits = prime.to_digits();