Skip to content

Tracking Issue for #![feature(control_flow_ok)] #140266

Open
@jogru0

Description

@jogru0

Feature gate: #![feature(control_flow_ok)]

This is a tracking issue for ControlFlow::continue_ok and ControlFlow::break_ok, as proposed in rust-lang/libs-team#444.

(The other part of this ACP was already implemented in #137449.)

Public API

impl<B, C> ControlFlow<B, C> { 
    continue_ok(self) -> Result<C, B>;
    break_ok(self) -> Result<B, C>;
}

Steps / History

(Remember to update the S-tracking-* label when checking boxes.)

Unresolved Questions

  • None yet.

Footnotes

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

Metadata

Metadata

Assignees

Labels

C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-unimplementedStatus: The feature has not been implemented.T-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