Skip to content

Commit 565b336

Browse files
committed
move Option::unwrap_unchecked into const_option feature gate
1 parent 55f602f commit 565b336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/option.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ impl<T> Option<T> {
10651065
#[inline]
10661066
#[track_caller]
10671067
#[stable(feature = "option_result_unwrap_unchecked", since = "1.58.0")]
1068-
#[rustc_const_unstable(feature = "const_option_ext", issue = "91930")]
1068+
#[rustc_const_unstable(feature = "const_option", issue = "67441")]
10691069
pub const unsafe fn unwrap_unchecked(self) -> T {
10701070
match self {
10711071
Some(val) => val,

0 commit comments

Comments
 (0)