fn random_ascii_string(len: usize) -> String {
        let mut s = String::new();
        let mut rng = rand::thread_rng();
        for _ in 0..len {
            s.push(CHARS[rng.gen_range(0 .. CHARS.len())] as char);
        }
        s
    }
// Gross. Find a way to reuse the code from random_unicode_string.
Gross. Find a way to reuse the code from random_unicode_string.
Gross . Find a way to reuse the code from random_unicode_string .
fn random_ascii_string(len: usize) -> String {
        let mut s = String::new();
        let mut rng = rand::thread_rng();
        for _ in 0..len {
            s.push(CHARS[rng.gen_range(0 .. CHARS.len())] as char);
        }
        s
    }
fn random_ascii_string ( len : usize ) -> String { let mut s = String :: new ( ) ; let mut rng = rand :: thread_rng ( ) ; for _ in 0 .. len { s . push ( CHARS [ rng . gen_range ( 0 .. CHARS . len ( ) ) ] as char ) ; } s }
Gross.
Gross .
len
usize