Skip to main content

thread_rng

Function thread_rng 

Source
pub fn thread_rng() -> ThreadRng
👎Deprecated since 0.9.0:

Renamed to rng

Expand description

Access the thread-local generator

Use rand::rng() instead.