Skip to content

Tracking Issue for ControlFlow::into_value #137461

Open
@scottmcm

Description

@scottmcm

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

Unresolved Questions

  • None yet.

Footnotes

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html

Metadata

Metadata

Labels

C-tracking-issueCategory: 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.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions