Function thread_rng

fn thread_rng() -> ThreadRng

Access the thread-local generator

Use rand::rng() instead.