File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 141141#![ feature( unchecked_shifts) ]
142142#![ feature( utf16_extra) ]
143143#![ feature( variant_count) ]
144+ #![ feature( control_flow_into_value) ]
144145// tidy-alphabetical-end
145146//
146147// Language features:
Original file line number Diff line number Diff line change 1- #![ feature( control_flow_into_value) ]
21use crate :: { convert, ops} ;
32
43/// Used to tell an operation whether it should exit early or go on as usual.
@@ -242,7 +241,7 @@ impl<T> ControlFlow<T, T> {
242241 /// assert_eq!(ControlFlow::<i32, i32>::Continue(512).into_value(), 512);
243242 /// ```
244243 #[ unstable( feature = "control_flow_into_value" , issue = "137461" ) ]
245- pub const fn into_value < T > ( self ) -> T {
244+ pub const fn into_value ( self ) -> T {
246245 match self {
247246 ControlFlow :: Continue ( x) | ControlFlow :: Break ( x) => x,
248247 }
You can’t perform that action at this time.
0 commit comments