Skip to content

Implement Stream::size_hint method on AsyncStream #40

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

Merged
merged 2 commits into from
Jan 20, 2021
Merged

Implement Stream::size_hint method on AsyncStream #40

merged 2 commits into from
Jan 20, 2021

Conversation

taiki-e
Copy link
Member

@taiki-e taiki-e commented Oct 17, 2020

We know if generator is complete, the element will never be returned.

@taiki-e taiki-e requested a review from Darksonn December 27, 2020 09:37
@taiki-e taiki-e requested a review from carllerche January 20, 2021 06:59
@taiki-e taiki-e merged commit 22a36ee into tokio-rs:master Jan 20, 2021
@taiki-e taiki-e deleted the size-hint branch January 20, 2021 09:30
@taiki-e taiki-e mentioned this pull request Jan 20, 2021
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