Skip to content

Commit db2259c

Browse files
authored
Unrolled build for rust-lang#130118
Rollup merge of rust-lang#130118 - RalfJung:unwrap_unchecked, r=Noratrieb move Option::unwrap_unchecked into const_option feature gate That's where `unwrap` and `expect` are so IMO it makes more sense to group them together. Part of rust-lang#91930, rust-lang#67441
2 parents 1ae2688 + 7ec01e4 commit db2259c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/option.rs

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

0 commit comments

Comments
 (0)