-
Notifications
You must be signed in to change notification settings - Fork 2
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
Rename try_fill
or fill_bytes
?
#27
Comments
An other thought: for fn try_fill(&mut self, dest: &mut [u8]) -> Result<usize, Error>; If we go this route, fn fill(&mut self, dest: &mut [u8]) -> usize; |
I personally prefer |
But @pitdicker |
Hm yes I messed up. If you return There is no other simple way to say a slice is only partially filled, is there? I don't have a preference for It is not completely clear to me how much breakage we have until now. Is it only a little, or so much one more change does not really make it worse? |
I don't know; I guess there are a fair few users of |
This is heavily inspired by #27 by @GrahamDennis but simpler trait and maintains backwards compatibility with deprecations.
This is heavily inspired by #27 by @GrahamDennis but simpler trait and maintains backwards compatibility with deprecations.
We merged |
This is heavily inspired by #27 by @GrahamDennis but simpler trait and maintains backwards compatibility with deprecations.
This is heavily inspired by #27 by @GrahamDennis but simpler trait and maintains backwards compatibility with deprecations.
This is heavily inspired by #27 by @GrahamDennis but simpler trait and maintains backwards compatibility with deprecations.
This is heavily inspired by #27 by @GrahamDennis but simpler trait and maintains backwards compatibility with deprecations.
This is heavily inspired by #27 by @GrahamDennis but simpler trait and maintains backwards compatibility with deprecations.
This is heavily inspired by #27 by @GrahamDennis but simpler trait and maintains backwards compatibility with deprecations.
This is heavily inspired by #27 by @GrahamDennis but simpler trait and maintains backwards compatibility with deprecations.
This is heavily inspired by dhardy#27 by @GrahamDennis but simpler trait and maintains backwards compatibility with deprecations.
I'm not going to break out regexxer yet because I'm not convinced either way yet, but we should probably resolve this.
The text was updated successfully, but these errors were encountered: