You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor ``return_read_bytes_and_count`` and ``return_written_byte_count_or_error``
Fixesrust-lang#3904
This PR
- separate the error logic from ``return_read_bytes_and_count`` and ``return_written_byte_count_or_error`` into a helper function ``set_last_error_and_return``.
This test suggests that
&fn
is noncopyable. I do not believe this should be the case.The test yields:
The text was updated successfully, but these errors were encountered: