-
-
Notifications
You must be signed in to change notification settings - Fork 461
Inconsistency between code and comment #1624
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
Comments
|
I misread the function doc because of the swapped |
@dhardy Technically, it would be a breaking change, but I don't think it makes sense to sue these functions with buffers not equal to each other byte-wise. |
No; the objective is not to copy all of the input but rather to fill I'm not sure why we don't assert that the input is exactly the right length though. I also don't much like the name or wording of the docs; I'm tempted to rename to |
Well, removing them would certainly be a breaking change, but deprecation sounds good to me. |
I fixed the docs |
In rand-master/rand_core/src/le.rs, following comment and code are inconsistent.
The text was updated successfully, but these errors were encountered: