@@ -14,11 +14,11 @@ fn float_to_decimal_common_exact<T>(
14
14
where
15
15
T : flt2dec:: DecodableFloat ,
16
16
{
17
- // SAFETY: Possible undefined behavior, see FIXME(#53491 )
17
+ // SAFETY: Possible undefined behavior, see FIXME(#76092 )
18
18
unsafe {
19
19
let mut buf = MaybeUninit :: < [ u8 ; 1024 ] > :: uninit ( ) ; // enough for f32 and f64
20
20
let mut parts = MaybeUninit :: < [ flt2dec:: Part < ' _ > ; 4 ] > :: uninit ( ) ;
21
- // FIXME(#53491 ): This is calling `get_mut ` on an uninitialized
21
+ // FIXME(#76092 ): This is calling `assume_init_mut ` on an uninitialized
22
22
// `MaybeUninit` (here and elsewhere in this file). Revisit this once
23
23
// we decided whether that is valid or not.
24
24
// We can do this only because we are libstd and coupled to the compiler.
@@ -47,12 +47,12 @@ fn float_to_decimal_common_shortest<T>(
47
47
where
48
48
T : flt2dec:: DecodableFloat ,
49
49
{
50
- // SAFETY: Possible undefined behavior, see FIXME(#53491 )
50
+ // SAFETY: Possible undefined behavior, see FIXME(#76092 )
51
51
unsafe {
52
52
// enough for f32 and f64
53
53
let mut buf = MaybeUninit :: < [ u8 ; flt2dec:: MAX_SIG_DIGITS ] > :: uninit ( ) ;
54
54
let mut parts = MaybeUninit :: < [ flt2dec:: Part < ' _ > ; 4 ] > :: uninit ( ) ;
55
- // FIXME(#53491 )
55
+ // FIXME(#76092 )
56
56
let formatted = flt2dec:: to_shortest_str (
57
57
flt2dec:: strategy:: grisu:: format_shortest,
58
58
* num,
@@ -103,11 +103,11 @@ fn float_to_exponential_common_exact<T>(
103
103
where
104
104
T : flt2dec:: DecodableFloat ,
105
105
{
106
- // SAFETY: Possible undefined behavior, see FIXME(#53491 )
106
+ // SAFETY: Possible undefined behavior, see FIXME(#76092 )
107
107
unsafe {
108
108
let mut buf = MaybeUninit :: < [ u8 ; 1024 ] > :: uninit ( ) ; // enough for f32 and f64
109
109
let mut parts = MaybeUninit :: < [ flt2dec:: Part < ' _ > ; 6 ] > :: uninit ( ) ;
110
- // FIXME(#53491 )
110
+ // FIXME(#76092 )
111
111
let formatted = flt2dec:: to_exact_exp_str (
112
112
flt2dec:: strategy:: grisu:: format_exact,
113
113
* num,
@@ -133,12 +133,12 @@ fn float_to_exponential_common_shortest<T>(
133
133
where
134
134
T : flt2dec:: DecodableFloat ,
135
135
{
136
- // SAFETY: Possible undefined behavior, see FIXME(#53491 )
136
+ // SAFETY: Possible undefined behavior, see FIXME(#76092 )
137
137
unsafe {
138
138
// enough for f32 and f64
139
139
let mut buf = MaybeUninit :: < [ u8 ; flt2dec:: MAX_SIG_DIGITS ] > :: uninit ( ) ;
140
140
let mut parts = MaybeUninit :: < [ flt2dec:: Part < ' _ > ; 6 ] > :: uninit ( ) ;
141
- // FIXME(#53491 )
141
+ // FIXME(#76092 )
142
142
let formatted = flt2dec:: to_shortest_exp_str (
143
143
flt2dec:: strategy:: grisu:: format_shortest,
144
144
* num,
0 commit comments