-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
Feature gate: #![feature(control_flow_into_value)]
This is a tracking issue for the into_value
method on ControlFlow<T, T>
: https://doc.rust-lang.org/nightly/std/ops/enum.ControlFlow.html#method.into_value
Public API
// core::ops
impl<T> ControlFlow<T, T> {
// hopefully const one day, but that needs `~const Destruct`
// or precise drop calculations
pub fn into_value(self) -> T;
}
Steps / History
- ACP: Add
into_value
forControlFlow
libs-team#474 (comment) - Implementation: Added into_value function to ControlFlow<T, T> #137495
- Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- None yet.
Footnotes
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.