-
Notifications
You must be signed in to change notification settings - Fork 349
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
Refactor return_read_bytes_and_count
and return_written_byte_count_or_error
#3923
Conversation
return_read_bytes_and_count
and return_written_byte_count_or_error
@rustbot ready |
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.
Thanks for the PR!
☔ The latest upstream changes (presumably #3927) made this pull request unmergeable. Please resolve the merge conflicts. |
@rustbot ready |
This looks great, thanks. :) |
@bors r=RalfJung |
☀️ Test successful - checks-actions |
Fixes #3904
This PR
return_read_bytes_and_count
andreturn_written_byte_count_or_error
into a helper functionset_last_error_and_return
.