-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Implement Future
for Option<F>
#109691
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
Implement Future
for Option<F>
#109691
Conversation
(rustbot has picked a reviewer for you, use r? to override) |
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
@rustbot label +T-libs-api -T-libs |
@@ -2293,6 +2296,19 @@ impl SpecOptionPartialEq for cmp::Ordering { | |||
} | |||
} | |||
|
|||
#[stable(feature = "option_future", since = "CURRENT_RUSTC_VERSION")] |
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.
Could this include a doctest?
☔ The latest upstream changes (presumably #111040) made this pull request unmergeable. Please resolve the merge conflicts. |
r? libs-api |
@rustbot +I-async-nominated |
@rustbot labels +I-async-nominated +WG-async Let's discuss this in the async WG. (Please mark issues such as this one WG-async and nominate them for the async working group.) |
We discussed this in the WG-async call today. Our consensus was to recommend this be closed. Further details are here. |
@rfcbot fcp close |
Team member @dtolnay has proposed to close this. The next step is review by the rest of the tagged team members: No concerns currently listed. Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
🔔 This is now entering its final comment period, as per the review above. 🔔 |
The final comment period, with a disposition to close, as per the review above, is now complete. As the automated representative of the governance process, I would like to thank the author for their work and everyone else who contributed. |
Thank you anyway for this proposal! |
When working with an
Option<F: Future>
in anasync
context, one may want to defer the handling ofNone
. This is currently cumbersome/verbose to do.ACP: rust-lang/libs-team#197