mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
chore(deps): drop conv dev-dependency
This commit is contained in:
parent
dab6003b52
commit
9e040a3df1
3 changed files with 1 additions and 20 deletions
|
@ -154,9 +154,7 @@ fn test_cli_args() {
|
|||
|
||||
#[test]
|
||||
fn test_random() {
|
||||
use conv::prelude::ValueFrom;
|
||||
|
||||
let log_num_primes = f64::value_from(NUM_PRIMES).unwrap().log2().ceil();
|
||||
let log_num_primes = f64::from(u32::try_from(NUM_PRIMES).unwrap()).log2().ceil();
|
||||
let primes = Sieve::primes().take(NUM_PRIMES).collect::<Vec<u64>>();
|
||||
|
||||
let rng_seed = SystemTime::now()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue