Function thread_rng

Source
pub fn thread_rng() -> ThreadRng
👎Deprecated since 0.9.0: renamed to rng
Available on crate feature thread_rng only.
Expand description

Access the thread-local generator

Use rand::rng() instead.