move Option::unwrap_unchecked into const_option feature gate · qinheping/verify-rust-std@565b336 (original) (raw)

Skip to content

View all features

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 565b336

move Option::unwrap_unchecked into const_option feature gate

File tree

1 file changed

lines changed

1 file changed

lines changed

Lines changed: 1 addition & 1 deletion

Original file line number Diff line number Diff line change
@@ -1065,7 +1065,7 @@ impl Option {
1065 1065 #[inline]
1066 1066 #[track_caller]
1067 1067 #[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")]
1069 1069 pub const unsafe fn unwrap_unchecked(self) -> T {
1070 1070 match self {
1071 1071 Some(val) => val,

0 commit comments