That’s arguably only because rand(rng, ...) mutates rng, and should possibly be called rand!(rng, ...)
rand(rng, ...)
rng
rand!(rng, ...)