Closed JayPavlina closed 4 years ago
Is there a reason you did RngCore
instead of Rng
?
Probably because i was using RngCore
elsewhere as well. I see now that the Rust docs advise to use Rng
. Will change.
Changed to Rng. I don't know if it makes a difference but blindly following the Rust docs here.
EntropyRng
is deprecated inrand 0.7
. Arguments using it should be changed toimpl Rng + CryptoRng
.