// Random string with random length in range 1..max_len.
Random string with random length in range 1..max_len.
Random string with random length in range 1 .. max_len .
pub fn string(max_len: usize) -> String {
    let l = (random::<usize>() % (max_len - 1)) + 1;
    let mut s = String::with_capacity(l);
    for _ in 0..l {
        s.push(random())
    }
    s
}
pub fn string ( max_len : usize ) -> String { let l = ( random :: < usize > ( ) % ( max_len - 1 ) ) + 1 ; let mut s = String :: with_capacity ( l ) ; for _ in 0 .. l { s . push ( random ( ) ) } s }
Random string with random length in range 1..max_len.
Random string with random length in range 1 .. max_len .
max_len
usize