about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDPC <dylan.dpc@gmail.com>2020-08-31 14:57:12 +0200
committerDPC <dylan.dpc@gmail.com>2020-08-31 14:57:12 +0200
commit943911cc8bc173763a76fcc20dc4d75274e0cd9b (patch)
treeb0b6edd59f6c53fd4845f1941f029c031429b67e
parent6d35f8475f71921e089465558bc40adbe449b25c (diff)
downloadrust-943911cc8bc173763a76fcc20dc4d75274e0cd9b.tar.gz
rust-943911cc8bc173763a76fcc20dc4d75274e0cd9b.zip
the one left behind
-rw-r--r--library/core/src/mem/maybe_uninit.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/core/src/mem/maybe_uninit.rs b/library/core/src/mem/maybe_uninit.rs
index a615f49c6be..a79d9e25f34 100644
--- a/library/core/src/mem/maybe_uninit.rs
+++ b/library/core/src/mem/maybe_uninit.rs
@@ -625,8 +625,8 @@ impl<T> MaybeUninit<T> {
     /// // Initialize the `MaybeUninit` using `Cell::set`:
     /// unsafe {
     ///     b.assume_init_ref().set(true);
-    ///  // ^^^^^^^^^^^
-    ///  // Reference to an uninitialized `Cell<bool>`: UB!
+    ///    // ^^^^^^^^^^^^^^^
+    ///    // Reference to an uninitialized `Cell<bool>`: UB!
     /// }
     /// ```
     #[unstable(feature = "maybe_uninit_ref", issue = "63568")]
@@ -748,7 +748,7 @@ impl<T> MaybeUninit<T> {
     ///     foo.assume_init()
     /// };
     /// ```
-    // FIXME(#53491): We currently rely on the above being incorrect, i.e., we have references
+    // FIXME(#76092): We currently rely on the above being incorrect, i.e., we have references
     // to uninitialized data (e.g., in `libcore/fmt/float.rs`).  We should make
     // a final decision about the rules before stabilization.
     #[unstable(feature = "maybe_uninit_ref", issue = "63568")]