Skip to content

Commit 55bc8b6

Browse files
committed
Stabilize const_maybe_uninit_assume_init_read
1 parent c01d8d2 commit 55bc8b6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

library/core/src/mem/maybe_uninit.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,10 @@ impl<T> MaybeUninit<T> {
686686
/// // they both get dropped!
687687
/// ```
688688
#[stable(feature = "maybe_uninit_extra", since = "1.60.0")]
689-
#[rustc_const_unstable(feature = "const_maybe_uninit_assume_init_read", issue = "63567")]
689+
#[rustc_const_stable(
690+
feature = "const_maybe_uninit_assume_init_read",
691+
since = "CURRENT_RUSTC_VERSION"
692+
)]
690693
#[inline(always)]
691694
#[track_caller]
692695
pub const unsafe fn assume_init_read(&self) -> T {

0 commit comments

Comments
 (0)