@@ -312,7 +312,7 @@ impl<T> MaybeUninit<T> {
312
312
/// without dropping it, so be careful not to use this twice unless you want to
313
313
/// skip running the destructor. For your convenience, this also returns a mutable
314
314
/// reference to the (now safely initialized) contents of `self`.
315
- #[ unstable( feature = "maybe_uninit_extra" , issue = "53491 " ) ]
315
+ #[ unstable( feature = "maybe_uninit_extra" , issue = "63567 " ) ]
316
316
#[ inline( always) ]
317
317
pub fn write ( & mut self , val : T ) -> & mut T {
318
318
unsafe {
@@ -502,7 +502,7 @@ impl<T> MaybeUninit<T> {
502
502
/// // We now created two copies of the same vector, leading to a double-free when
503
503
/// // they both get dropped!
504
504
/// ```
505
- #[ unstable( feature = "maybe_uninit_extra" , issue = "53491 " ) ]
505
+ #[ unstable( feature = "maybe_uninit_extra" , issue = "63567 " ) ]
506
506
#[ inline( always) ]
507
507
pub unsafe fn read ( & self ) -> T {
508
508
intrinsics:: panic_if_uninhabited :: < T > ( ) ;
@@ -516,7 +516,7 @@ impl<T> MaybeUninit<T> {
516
516
/// It is up to the caller to guarantee that the `MaybeUninit<T>` really is in an initialized
517
517
/// state. Calling this when the content is not yet fully initialized causes undefined
518
518
/// behavior.
519
- #[ unstable( feature = "maybe_uninit_ref" , issue = "53491 " ) ]
519
+ #[ unstable( feature = "maybe_uninit_ref" , issue = "63568 " ) ]
520
520
#[ inline( always) ]
521
521
pub unsafe fn get_ref ( & self ) -> & T {
522
522
& * self . value
@@ -532,21 +532,21 @@ impl<T> MaybeUninit<T> {
532
532
// FIXME(#53491): We currently rely on the above being incorrect, i.e., we have references
533
533
// to uninitialized data (e.g., in `libcore/fmt/float.rs`). We should make
534
534
// a final decision about the rules before stabilization.
535
- #[ unstable( feature = "maybe_uninit_ref" , issue = "53491 " ) ]
535
+ #[ unstable( feature = "maybe_uninit_ref" , issue = "63568 " ) ]
536
536
#[ inline( always) ]
537
537
pub unsafe fn get_mut ( & mut self ) -> & mut T {
538
538
& mut * self . value
539
539
}
540
540
541
541
/// Gets a pointer to the first element of the array.
542
- #[ unstable( feature = "maybe_uninit_slice" , issue = "53491 " ) ]
542
+ #[ unstable( feature = "maybe_uninit_slice" , issue = "63569 " ) ]
543
543
#[ inline( always) ]
544
544
pub fn first_ptr ( this : & [ MaybeUninit < T > ] ) -> * const T {
545
545
this as * const [ MaybeUninit < T > ] as * const T
546
546
}
547
547
548
548
/// Gets a mutable pointer to the first element of the array.
549
- #[ unstable( feature = "maybe_uninit_slice" , issue = "53491 " ) ]
549
+ #[ unstable( feature = "maybe_uninit_slice" , issue = "63569 " ) ]
550
550
#[ inline( always) ]
551
551
pub fn first_ptr_mut ( this : & mut [ MaybeUninit < T > ] ) -> * mut T {
552
552
this as * mut [ MaybeUninit < T > ] as * mut T
0 commit comments