We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If a SeedableRng implementation uses a seed type with a length that isn't divisible by 4, the final chunk of the seed buffer will not be 4 bytes, so the copy_from_slice call will panic: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=2e5eea3830867e62fe8a47f02721a60a.
SeedableRng
The text was updated successfully, but these errors were encountered:
eb4b8a4
Merge pull request #1083 from dhardy/work
bda9974
Fix #1082 (seed_from_u64 with non multiple of 4)
Fix published (rand_core 0.6.1)
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
If a
SeedableRng
implementation uses a seed type with a length that isn't divisible by 4, the final chunk of the seed buffer will not be 4 bytes, so the copy_from_slice call will panic: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=2e5eea3830867e62fe8a47f02721a60a.The text was updated successfully, but these errors were encountered: