-
Notifications
You must be signed in to change notification settings - Fork 639
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
Use our own either type #1527
Conversation
works for me, modulo the removal of doc examples and the introduction of |
f60b960
to
dce775b
Compare
futures-util/src/future/mod.rs
Outdated
/// } | ||
/// ``` | ||
fn select<B>(self, other: B) -> Select<Self, B::Future> | ||
where B: IntoFuture, Self: Sized | ||
fn select<B>(self, other: B) -> Select<Self, B> |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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 😅 .
Nice! thanks for this :) |
Closes #1152