File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 62
62
Compatibility Notes
63
63
-------------------
64
64
- 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.
66
66
67
67
[ 60318 ] : https://github.com/rust-lang/rust/pull/60318/
68
68
[ 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 {
472
472
/// [`MaybeUninit<T>`]: union.MaybeUninit.html
473
473
/// [inv]: union.MaybeUninit.html#initialization-invariant
474
474
#[ 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" ) ]
476
476
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
477
477
pub unsafe fn uninitialized < T > ( ) -> T {
478
478
MaybeUninit :: uninit ( ) . assume_init ( )
You can’t perform that action at this time.
0 commit comments