1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

factor: remove unnecessary "extern crate" in test

This commit is contained in:
Daniel Hofstetter 2023-04-06 14:52:54 +02:00
parent 2172b0cae0
commit 305087f8e2

View file

@ -15,12 +15,9 @@ use std::time::{Duration, SystemTime};
#[path = "../../src/uu/factor/sieve.rs"]
mod sieve;
extern crate conv;
extern crate rand;
use self::rand::distributions::{Distribution, Uniform};
use self::rand::{rngs::SmallRng, Rng, SeedableRng};
use self::sieve::Sieve;
use rand::distributions::{Distribution, Uniform};
use rand::{rngs::SmallRng, Rng, SeedableRng};
const NUM_PRIMES: usize = 10000;
const NUM_TESTS: usize = 100;
@ -81,7 +78,6 @@ fn test_parallel() {
#[test]
fn test_first_1000_integers() {
extern crate sha1;
use hex_literal::hex;
use sha1::{Digest, Sha1};