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

Use our own either type #1527

Merged
merged 1 commit into from
Apr 19, 2019
Merged

Use our own either type #1527

merged 1 commit into from
Apr 19, 2019

Conversation

taiki-e
Copy link
Member

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

Closes #1152

@taiki-e taiki-e changed the title Use own either type Use our own either type Apr 16, 2019
@cramertj
Copy link
Member

works for me, modulo the removal of doc examples and the introduction of into_inner

@taiki-e taiki-e force-pushed the util-either branch 2 times, most recently from f60b960 to dce775b Compare April 17, 2019 05:44
/// }
/// ```
fn select<B>(self, other: B) -> Select<Self, B::Future>
where B: IntoFuture, Self: Sized
fn select<B>(self, other: B) -> Select<Self, B>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We just changed the .join methods into free functions-- seems like that would make sense for select as well?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for pointing that out, it makes sense. And I remembered that I forgot to write PR for changing StreamExt::select to a function 😅 .

@cramertj
Copy link
Member

Nice! thanks for this :)

@cramertj cramertj merged commit 151d68c into rust-lang:master Apr 19, 2019
@taiki-e taiki-e deleted the util-either branch April 20, 2019 00:28
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.

either dependency is non-optional for futures-util
2 participants