/// Generates a vector of random strings
Generates a vector of random strings
Generates a vector of random strings
pub fn gen_rand_strings(size: usize, esize: usize) -> Vec<String> {
        let mut rng = rand::thread_rng();
        (0..size)
            .map(|_| {
                iter::repeat(())
                    .map(|()| rng.sample(Alphanumeric))
                    .take(esize)
                    .collect::<String>()
            })
            .collect()
    }
pub fn gen_rand_strings ( size : usize , esize : usize ) -> Vec < String > { let mut rng = rand :: thread_rng ( ) ; ( 0 .. size ) . map ( | _ | { iter :: repeat ( ( ) ) . map ( | ( ) | rng . sample ( Alphanumeric ) ) . take ( esize ) . collect :: < String > ( ) } ) . collect ( ) }
Generates a vector of random strings
Generates a vector of random strings
size
usize
esize
usize