Function thread_rng

fn thread_rng() -> crate::rngs::ThreadRng

Access the thread-local generator

Use rand::rng() instead.