extern crate prime_suspects; fn main() { let large_primes_full: Vec = prime_suspects::segmented_sieve(1000000, 1000); let primes_len = large_primes_full.len(); let large_primes: Vec = large_primes_full.into_iter() .rev() .take(10) .collect(); for prime in large_primes { print!("{}, ", prime); } println!(""); println!("Number of primes found: {}", primes_len); }