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

impl some traits for Either #1695

Merged
merged 1 commit into from
Jul 1, 2019
Merged

impl some traits for Either #1695

merged 1 commit into from
Jul 1, 2019

Conversation

taiki-e
Copy link
Member

@taiki-e taiki-e commented Jun 29, 2019

This implements Async{Read, Write, Seek, BufRead} and Fused{Future, Stream} for Either.

I think it would be nice to have these implementations, as either::Either has implemented traits like std::io::{Read, Write, BufRead} and ExactSizeIterator.

@taiki-e taiki-e changed the title impl Async{Read, Write, Seek, BufRead} and Fused{Future, Stream} for Either impl some traits for Either Jun 29, 2019
@cramertj cramertj merged commit 2cdb83f into rust-lang:master Jul 1, 2019
@taiki-e taiki-e deleted the either branch July 2, 2019 01:02
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