|
|
|
@ -158,10 +158,10 @@ And that's about it for working with uninitialized memory! Basically nothing
|
|
|
|
|
anywhere expects to be handed uninitialized memory, so if you're going to pass
|
|
|
|
|
it around at all, be sure to be *really* careful.
|
|
|
|
|
|
|
|
|
|
[`MaybeUninit`]: ../core/mem/union.MaybeUninit.html
|
|
|
|
|
[assume_init]: ../core/mem/union.MaybeUninit.html#method.assume_init
|
|
|
|
|
[`ptr`]: ../core/ptr/index.html
|
|
|
|
|
[`addr_of_mut`]: ../core/ptr/macro.addr_of_mut.html
|
|
|
|
|
[`write`]: ../core/ptr/fn.write.html
|
|
|
|
|
[`copy`]: ../std/ptr/fn.copy.html
|
|
|
|
|
[`copy_nonoverlapping`]: ../std/ptr/fn.copy_nonoverlapping.html
|
|
|
|
|
[`MaybeUninit`]: https://doc.rust-lang.org/core/mem/union.MaybeUninit.html
|
|
|
|
|
[assume_init]: https://doc.rust-lang.org/core/mem/union.MaybeUninit.html#method.assume_init
|
|
|
|
|
[`ptr`]: https://doc.rust-lang.org/core/ptr/index.html
|
|
|
|
|
[`addr_of_mut`]: https://doc.rust-lang.org/core/ptr/macro.addr_of_mut.html
|
|
|
|
|
[`write`]: https://doc.rust-lang.org/core/ptr/fn.write.html
|
|
|
|
|
[`copy`]: https://doc.rust-lang.org/std/ptr/fn.copy.html
|
|
|
|
|
[`copy_nonoverlapping`]: https://doc.rust-lang.org/std/ptr/fn.copy_nonoverlapping.html
|
|
|
|
|