pub fn thread_rng() -> ThreadRng
👎Deprecated since 0.9.0: renamed to
rng
Expand description
Access the thread-local generator
Use rand::rng()
instead.
pub fn thread_rng() -> ThreadRng
rng
Access the thread-local generator
Use rand::rng()
instead.