]> git.lizzy.rs Git - rust.git/commitdiff
Removed the incorrect documentation for from_str
authorMax Comstock <maxibillion6@gmail.com>
Tue, 5 Sep 2017 02:16:15 +0000 (22:16 -0400)
committerMax Comstock <maxibillion6@gmail.com>
Tue, 5 Sep 2017 02:16:15 +0000 (22:16 -0400)
src/libcore/num/dec2flt/mod.rs

index f353770a736e40eccd2a74ef9af92b0f103e6736..f93564c2849f5613ca499649793c8b2abdd990d1 100644 (file)
@@ -121,7 +121,6 @@ impl FromStr for $t {
             /// * '-3.14'
             /// * '2.5E10', or equivalently, '2.5e10'
             /// * '2.5E-10'
-            /// * '.' (understood as 0)
             /// * '5.'
             /// * '.5', or, equivalently,  '0.5'
             /// * 'inf', '-inf', 'NaN'