Skip to content

Commit d972ede

Browse files
committed
remove const for FromStr
1 parent b8dfccf commit d972ede

File tree

1 file changed

+1
-1
lines changed
  • library/core/src/num/dec2flt

1 file changed

+1
-1
lines changed

library/core/src/num/dec2flt/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ from_str_float_impl!(f64);
181181
// to avoid ICEs.
182182

183183
#[cfg(not(target_has_reliable_f16))]
184-
impl const FromStr for f16 {
184+
impl FromStr for f16 {
185185
type Err = ParseFloatError;
186186

187187
#[inline]

0 commit comments

Comments
 (0)