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.
pub fn thread_rng() -> ThreadRng
rng
thread_rng
only.Access the thread-local generator
Use rand::rng()
instead.