-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Tracking Issue for ControlFlow::into_value
#137461
Comments
This has an approved ACP (cc @carbotaniuman), but wasn't implemented. Anyone interested? Adding one unstable function is one of the easiest ways to have a first PR! |
ControlFlow::into_value
@randyli |
Hi @scottmcm How should I approach this? |
@rustbot claim |
@Shourya742 hi, as you can see I was interested in working on this issue. Would it be alright if I claim this? |
My bad .. I didn't read through the comment... You can claim it... |
@madhav-madhusoodanan Don't forget the feature gate And read more details in rust-lang/libs-team#474 (comment) and https://std-dev-guide.rust-lang.org/ |
Got it, going through it now |
Just to clarify, is the public API supposed to be a |
Nevermind, I was able to implement it as a |
Feature gate:
#![feature(control_flow_into_value)]
This is a tracking issue for the
into_value
method onControlFlow<T, T>
: https://doc.rust-lang.org/nightly/std/ops/enum.ControlFlow.html#method.into_valuePublic API
Steps / History
into_value
forControlFlow
libs-team#474 (comment)Unresolved Questions
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩
The text was updated successfully, but these errors were encountered: