@@ -14,11 +14,11 @@ fn float_to_decimal_common_exact<T>(
1414where
1515 T : flt2dec:: DecodableFloat ,
1616{
17- // SAFETY: Possible undefined behavior, see FIXME(#53491 )
17+ // SAFETY: Possible undefined behavior, see FIXME(#76092 )
1818 unsafe {
1919 let mut buf = MaybeUninit :: < [ u8 ; 1024 ] > :: uninit ( ) ; // enough for f32 and f64
2020 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
2222 // `MaybeUninit` (here and elsewhere in this file). Revisit this once
2323 // we decided whether that is valid or not.
2424 // 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>(
4747where
4848 T : flt2dec:: DecodableFloat ,
4949{
50- // SAFETY: Possible undefined behavior, see FIXME(#53491 )
50+ // SAFETY: Possible undefined behavior, see FIXME(#76092 )
5151 unsafe {
5252 // enough for f32 and f64
5353 let mut buf = MaybeUninit :: < [ u8 ; flt2dec:: MAX_SIG_DIGITS ] > :: uninit ( ) ;
5454 let mut parts = MaybeUninit :: < [ flt2dec:: Part < ' _ > ; 4 ] > :: uninit ( ) ;
55- // FIXME(#53491 )
55+ // FIXME(#76092 )
5656 let formatted = flt2dec:: to_shortest_str (
5757 flt2dec:: strategy:: grisu:: format_shortest,
5858 * num,
@@ -103,11 +103,11 @@ fn float_to_exponential_common_exact<T>(
103103where
104104 T : flt2dec:: DecodableFloat ,
105105{
106- // SAFETY: Possible undefined behavior, see FIXME(#53491 )
106+ // SAFETY: Possible undefined behavior, see FIXME(#76092 )
107107 unsafe {
108108 let mut buf = MaybeUninit :: < [ u8 ; 1024 ] > :: uninit ( ) ; // enough for f32 and f64
109109 let mut parts = MaybeUninit :: < [ flt2dec:: Part < ' _ > ; 6 ] > :: uninit ( ) ;
110- // FIXME(#53491 )
110+ // FIXME(#76092 )
111111 let formatted = flt2dec:: to_exact_exp_str (
112112 flt2dec:: strategy:: grisu:: format_exact,
113113 * num,
@@ -133,12 +133,12 @@ fn float_to_exponential_common_shortest<T>(
133133where
134134 T : flt2dec:: DecodableFloat ,
135135{
136- // SAFETY: Possible undefined behavior, see FIXME(#53491 )
136+ // SAFETY: Possible undefined behavior, see FIXME(#76092 )
137137 unsafe {
138138 // enough for f32 and f64
139139 let mut buf = MaybeUninit :: < [ u8 ; flt2dec:: MAX_SIG_DIGITS ] > :: uninit ( ) ;
140140 let mut parts = MaybeUninit :: < [ flt2dec:: Part < ' _ > ; 6 ] > :: uninit ( ) ;
141- // FIXME(#53491 )
141+ // FIXME(#76092 )
142142 let formatted = flt2dec:: to_shortest_exp_str (
143143 flt2dec:: strategy:: grisu:: format_shortest,
144144 * num,
0 commit comments