Skip to content

Commit 8a2f395

Browse files
authored
Merge pull request #396 from RalfJung/rust-1.36
fix mem::uninitialized deprecation schedule
2 parents 6ebff40 + 6c6ebda commit 8a2f395

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

posts/2019-07-04-Rust-1.36.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ The Rust compiler will understand that it should not assume that a [`MaybeUninit
8989
Therefore, you can do gradual initialization more safely and eventually use `.assume_init()`
9090
once you are certain that `maybe_t: MaybeUninit<T>` contains an initialized `T`.
9191

92-
As [`MaybeUninit<T>`] is the safer alternative, starting with Rust 1.38,
92+
As [`MaybeUninit<T>`] is the safer alternative, starting with Rust 1.39,
9393
the function [`mem::uninitialized`] will be deprecated.
9494

9595
To find out more about uninitialized memory, [`mem::uninitialized`],

0 commit comments

Comments
 (0)