Get rid of `ThreadRng::rng`
Get rid of `ThreadRng::rng`

This method must be used correctly to avoid undefined behavior.
Therefore, it should be `unsafe`. Instead, we just inline it and add a
comment why the code is safe.

rust-lang/rand