Skip to content

Commit 943911c

Browse files
committed
the one left behind
1 parent 6d35f84 commit 943911c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

library/core/src/mem/maybe_uninit.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -625,8 +625,8 @@ impl<T> MaybeUninit<T> {
625625
/// // Initialize the `MaybeUninit` using `Cell::set`:
626626
/// unsafe {
627627
/// b.assume_init_ref().set(true);
628-
/// // ^^^^^^^^^^^
629-
/// // Reference to an uninitialized `Cell<bool>`: UB!
628+
/// // ^^^^^^^^^^^^^^^
629+
/// // Reference to an uninitialized `Cell<bool>`: UB!
630630
/// }
631631
/// ```
632632
#[unstable(feature = "maybe_uninit_ref", issue = "63568")]
@@ -748,7 +748,7 @@ impl<T> MaybeUninit<T> {
748748
/// foo.assume_init()
749749
/// };
750750
/// ```
751-
// FIXME(#53491): We currently rely on the above being incorrect, i.e., we have references
751+
// FIXME(#76092): We currently rely on the above being incorrect, i.e., we have references
752752
// to uninitialized data (e.g., in `libcore/fmt/float.rs`). We should make
753753
// a final decision about the rules before stabilization.
754754
#[unstable(feature = "maybe_uninit_ref", issue = "63568")]

0 commit comments

Comments
 (0)