Skip to content

Commit adcc1f0

Browse files
Rollup merge of rust-lang#44328 - mcomstock:from-str-doc-fix, r=steveklabnik
Removed the incorrect documentation for from_str Fixes rust-lang#44242.
2 parents 02d3bdd + 7d94ca6 commit adcc1f0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/libcore/num/dec2flt/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,6 @@ macro_rules! from_str_float_impl {
121121
/// * '-3.14'
122122
/// * '2.5E10', or equivalently, '2.5e10'
123123
/// * '2.5E-10'
124-
/// * '.' (understood as 0)
125124
/// * '5.'
126125
/// * '.5', or, equivalently, '0.5'
127126
/// * 'inf', '-inf', 'NaN'

0 commit comments

Comments
 (0)