Skip to content

Commit f2c0e15

Browse files
Fixed alphabetical ordering of feature gate, added same to doctest
1 parent 809f1c4 commit f2c0e15

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

library/core/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@
116116
#![feature(closure_track_caller)]
117117
#![feature(const_carrying_mul_add)]
118118
#![feature(const_eval_select)]
119+
#![feature(control_flow_into_value)]
119120
#![feature(core_intrinsics)]
120121
#![feature(coverage_attribute)]
121122
#![feature(disjoint_bitor)]
@@ -141,7 +142,6 @@
141142
#![feature(unchecked_shifts)]
142143
#![feature(utf16_extra)]
143144
#![feature(variant_count)]
144-
#![feature(control_flow_into_value)]
145145
// tidy-alphabetical-end
146146
//
147147
// Language features:

library/core/src/ops/control_flow.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ impl<T> ControlFlow<T, T> {
235235
/// # Examples
236236
///
237237
/// ```
238+
/// #![feature(control_flow_into_value)]
238239
/// use std::ops::ControlFlow;
239240
///
240241
/// assert_eq!(ControlFlow::<i32, i32>::Break(1024).into_value(), 1024);

0 commit comments

Comments
 (0)