Skip to content

Commit 809f1c4

Browse files
Removed const tag
1 parent 168ad44 commit 809f1c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/ops/control_flow.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ impl<T> ControlFlow<T, T> {
241241
/// assert_eq!(ControlFlow::<i32, i32>::Continue(512).into_value(), 512);
242242
/// ```
243243
#[unstable(feature = "control_flow_into_value", issue = "137461")]
244-
pub const fn into_value(self) -> T {
244+
pub fn into_value(self) -> T {
245245
match self {
246246
ControlFlow::Continue(x) | ControlFlow::Break(x) => x,
247247
}

0 commit comments

Comments
 (0)