-
-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Rand version #127
Comments
Sorry, incorrect. But if you replace: let numbers: Vec<$numty> =
rand::thread_rng().gen_iter().take(100000).collect(); with let mut rng = thread_rng();
let numbers: Vec<$numty> = (0..100000).map(|_| rng.gen()).collect(); you should have no problems. See rust-random/rand#286 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Regex currently requires Rand
^0.4
. Given the extremely limited use by this library, you could probably get away with>= 0.3
; I think at least>= 0.3 < 0.7
should be safe.The text was updated successfully, but these errors were encountered: