factor: expand glob import in test

This commit is contained in:
Daniel Hofstetter
2023-04-06 09:47:21 +02:00
parent 20a8b5ac9e
commit 74a95bc7a5
+1 -1
View File
@@ -118,7 +118,7 @@ fn test_cli_args() {
#[test]
fn test_random() {
use conv::prelude::*;
use conv::prelude::ValueFrom;
let log_num_primes = f64::value_from(NUM_PRIMES).unwrap().log2().ceil();
let primes = Sieve::primes().take(NUM_PRIMES).collect::<Vec<u64>>();