Closed joshuaoco closed 3 years ago
Apologies for not fixing it myself, but thought I'd mention it: The examples in https://rust-lang-nursery.github.io/rust-cookbook/algorithms/randomness.html which use rng::gen_range are broken, as the function expects a range (0..10) rather than 2 arguments.
rng::gen_range
Maybe you could test the examples as part of your CI?
Thanks
Bork, didn't see #627 , closing :)
Apologies for not fixing it myself, but thought I'd mention it: The examples in https://rust-lang-nursery.github.io/rust-cookbook/algorithms/randomness.html which use
rng::gen_range
are broken, as the function expects a range (0..10) rather than 2 arguments.Maybe you could test the examples as part of your CI?
Thanks