about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMark Simulacrum <mark.simulacrum@gmail.com>2017-09-06 18:28:00 -0600
committerGitHub <noreply@github.com>2017-09-06 18:28:00 -0600
commite7470c9f1891feccdfca136829b63e9177deace8 (patch)
treef1ba653229687315b98a8ecf493dec0cd3d2471b /src
parentd2c85a0899660a6623c43ee6503807be987afad9 (diff)
parent7d94ca618c1627e1751dd7744e781d864c5887bb (diff)
downloadrust-e7470c9f1891feccdfca136829b63e9177deace8.tar.gz
rust-e7470c9f1891feccdfca136829b63e9177deace8.zip
Rollup merge of #44328 - mcomstock:from-str-doc-fix, r=steveklabnik
Removed the incorrect documentation for from_str

Fixes #44242.
Diffstat (limited to 'src')
-rw-r--r--src/libcore/num/dec2flt/mod.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libcore/num/dec2flt/mod.rs b/src/libcore/num/dec2flt/mod.rs
index f353770a736..f93564c2849 100644
--- a/src/libcore/num/dec2flt/mod.rs
+++ b/src/libcore/num/dec2flt/mod.rs
@@ -121,7 +121,6 @@ macro_rules! from_str_float_impl {
             /// * '-3.14'
             /// * '2.5E10', or equivalently, '2.5e10'
             /// * '2.5E-10'
-            /// * '.' (understood as 0)
             /// * '5.'
             /// * '.5', or, equivalently,  '0.5'
             /// * 'inf', '-inf', 'NaN'