-
-
Notifications
You must be signed in to change notification settings - Fork 708
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
Suspend
should accept IntoFuture
instead of Future
#3509
Comments
IntoFuture
instead of Future
Suspend
should accept IntoFuture
instead of Future
You're probably right. I think it probably wouldn't even be a breaking change, technically, as there is a blanket implementation of n.b. |
You're right, Yes, anything that takes |
Oh I should add, for the specifics of the example -- But point taken, you are correct that the trait bound should probably be |
Done in #3532 as part of 0.8, as it does end up with enough of a change in generic bounds that it's technically breaking. |
Consider the following:
Is there any reason for
Suspend
to not acceptimpl IntoFuture
?The text was updated successfully, but these errors were encountered: