Skip to content

The examples for ControlFlow::is_break and ControlFlow::is_continue still use #![feature(control_flow_enum)] despite being stabilized #94349

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
ilyvion opened this issue Feb 25, 2022 · 3 comments

Comments

@ilyvion
Copy link

ilyvion commented Feb 25, 2022

The title pretty much describes it. It's a minor thing, but I still think it should be addressed. Other stabilized types with a mix of stable and unstable API do not use #![feature()] in in their stable examples.

@bugadani
Copy link
Contributor

@rustbot claim

@bugadani
Copy link
Contributor

This was fixed in #94283

@bugadani bugadani removed their assignment Feb 25, 2022
@ehuss
Copy link
Contributor

ehuss commented Feb 25, 2022

Yea, the fix is in the latest master (https://doc.rust-lang.org/nightly/std/ops/enum.ControlFlow.html#method.is_break), but will need to ride the trains to the stable docs.

@ehuss ehuss closed this as completed Feb 25, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants