File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 6262Compatibility Notes
6363-------------------
6464- With the stabilisation of ` mem::MaybeUninit ` , ` mem::uninitialized ` use is no
65- longer recommended, and will be deprecated in 1.38 .0.
65+ longer recommended, and will be deprecated in 1.39 .0.
6666
6767[ 60318 ] : https://github.com/rust-lang/rust/pull/60318/
6868[ 60364 ] : https://github.com/rust-lang/rust/pull/60364/
Original file line number Diff line number Diff line change @@ -472,7 +472,7 @@ pub unsafe fn zeroed<T>() -> T {
472472/// [`MaybeUninit<T>`]: union.MaybeUninit.html
473473/// [inv]: union.MaybeUninit.html#initialization-invariant
474474#[ inline]
475- #[ rustc_deprecated( since = "1.38 .0" , reason = "use `mem::MaybeUninit` instead" ) ]
475+ #[ rustc_deprecated( since = "1.39 .0" , reason = "use `mem::MaybeUninit` instead" ) ]
476476#[ stable( feature = "rust1" , since = "1.0.0" ) ]
477477pub unsafe fn uninitialized < T > ( ) -> T {
478478 MaybeUninit :: uninit ( ) . assume_init ( )
You can’t perform that action at this time.
0 commit comments