Skip to content

Refactor join type #577

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
3 commits merged into from
Nov 27, 2019
Merged

Refactor join type #577

3 commits merged into from
Nov 27, 2019

Conversation

k-nasa
Copy link
Member

@k-nasa k-nasa commented Nov 23, 2019

I think the future :: join type constraint is strong.
How about making it possible to join different future types?

@ghost
Copy link

ghost commented Nov 23, 2019

I like this change. Can we perhaps also do the same for try_join?

@k-nasa k-nasa requested a review from a user November 24, 2019 04:15
@killercup
Copy link
Contributor

Doesn't this break inference in some cases? I think that's not technically considered a breaking change but if users can notice it, it'd be nice to get a heads up in release notes or the docs.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Thank you!

@ghost ghost merged commit 794e331 into async-rs:master Nov 27, 2019
@ghost
Copy link

ghost commented Nov 27, 2019

@killercup I'm afraid it can break inference, yes. These APIs are still unstable and it's not really a breaking change, so I think we're okay. It would be nice to add a heads up to the changelog, though.

This pull request was closed.
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