Skip to content
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

Correct the behavior of read_until when Pending is returned #1566

Merged
merged 1 commit into from
Apr 27, 2019

Conversation

taiki-e
Copy link
Member

@taiki-e taiki-e commented Apr 27, 2019

The current implementation did not record information about the number of bytes read so far, so it returned an incorrect value when Pending returned after Ready returned.

This was referenced Apr 27, 2019
@taiki-e
Copy link
Member Author

taiki-e commented Apr 27, 2019

Rebased.

@Nemo157 Nemo157 merged commit 3872328 into rust-lang:master Apr 27, 2019
@taiki-e taiki-e deleted the io-read_until branch April 27, 2019 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants