Skip to content

Commit f4f8b21

Browse files
committed
let FIXME refer to tracking issue
1 parent f9fb8d6 commit f4f8b21

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libcore/fmt/float.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ fn float_to_decimal_common_exact<T>(fmt: &mut Formatter, num: &T,
2222
unsafe {
2323
let mut buf = MaybeUninit::<[u8; 1024]>::uninitialized(); // enough for f32 and f64
2424
let mut parts = MaybeUninit::<[flt2dec::Part; 4]>::uninitialized();
25-
// FIXME: Technically, this is calling `get_mut` on an uninitialized
25+
// FIXME(#53491): Technically, this is calling `get_mut` on an uninitialized
2626
// `MaybeUninit` (here and elsewhere in this file). Revisit this once
2727
// we decided whether that is valid or not.
2828
let formatted = flt2dec::to_exact_fixed_str(flt2dec::strategy::grisu::format_exact,

src/libcore/mem.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1118,7 +1118,7 @@ impl<T> MaybeUninit<T> {
11181118
///
11191119
/// It is up to the caller to guarantee that the `MaybeUninit` really is in an initialized
11201120
/// state, otherwise this will immediately cause undefined behavior.
1121-
// FIXME: We currently rely on the above being incorrect, i.e., we have references
1121+
// FIXME(#53491): We currently rely on the above being incorrect, i.e., we have references
11221122
// to uninitialized data (e.g. in `libcore/fmt/float.rs`). We should make
11231123
// a final decision about the rules before stabilization.
11241124
#[unstable(feature = "maybe_uninit", issue = "53491")]

0 commit comments

Comments
 (0)