1
Fork 0
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:
Paolo Barbolini 2024-03-31 22:48:56 +02:00
parent dab6003b52
commit 9e040a3df1
3 changed files with 1 additions and 20 deletions

View file

@ -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()