We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2d01c91 + 2bf80cf commit 9121a73Copy full SHA for 9121a73
src/libcore/mem.rs
@@ -966,6 +966,9 @@ impl<T: ?Sized> DerefMut for ManuallyDrop<T> {
966
///
967
/// The compiler then knows to not make any incorrect assumptions or optimizations on this code.
968
969
+/// You can think of `MaybeUninit<T>` as being a bit like `Option<T>` but without
970
+/// any of the run-time tracking and without any of the safety checks.
971
+///
972
/// ## out-pointers
973
974
/// You can use `MaybeUninit<T>` to implement "out-pointers": instead of returning data
0 commit comments