File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2705,7 +2705,7 @@ macro_rules! from_str_radix_float_impl {
2705
2705
///
2706
2706
/// # Return value
2707
2707
///
2708
- /// `Err(ParseIntError )` if the string did not represent a valid number. Otherwise,
2708
+ /// `Err(ParseFloatError )` if the string did not represent a valid number.
2709
2709
/// Otherwise, `Ok(n)` where `n` is the floating-point number represented by `src`.
2710
2710
#[ inline]
2711
2711
#[ allow( deprecated) ]
@@ -2734,7 +2734,7 @@ macro_rules! from_str_radix_float_impl {
2734
2734
///
2735
2735
/// # Return value
2736
2736
///
2737
- /// `Err(ParseIntError )` if the string did not represent a valid number. Otherwise,
2737
+ /// `Err(ParseFloatError )` if the string did not represent a valid number.
2738
2738
/// Otherwise, `Ok(n)` where `n` is the floating-point number represented by `src`.
2739
2739
fn from_str_radix( src: & str , radix: u32 )
2740
2740
-> Result <$T, ParseFloatError > {
You can’t perform that action at this time.
0 commit comments