-
Notifications
You must be signed in to change notification settings - Fork 230
Bump rand_core to v0.10.0-rc-4
#2195
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
Conversation
It seems like the changes are backwards compatible with every crate except for `elliptic-curve`, where some reborrowing was required
|
huum, no there is something fishy here, you shouldn't have to do that. |
|
I think this is because I've opened #2197 to remove the extraneous references |
This fixes changes made in #2195 This is due to the refactor made in rand_core in rust-random/rand_core#45 which dropped the "trait dependency" between CryptoRng and RngCore
It very much should do. If it doesn't that's a bug. (I know the traits are written differently, but as best I can tell this is still implied.) |
| Self { | ||
| scalar, | ||
| mask: Scalar::<C>::random(rng), | ||
| mask: Scalar::<C>::random(&mut rng), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not keep Scalar::<C>::random(rng)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got taken care of in #2197
It seems like the changes are backwards compatible with every crate except for
elliptic-curve, where some reborrowing was required