]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #9275 : blake2-ppc/rust/float-from-str, r=thestinger
authorbors <bors@rust-lang.org>
Wed, 18 Sep 2013 15:01:00 +0000 (08:01 -0700)
committerbors <bors@rust-lang.org>
Wed, 18 Sep 2013 15:01:00 +0000 (08:01 -0700)
std: Remove {float,f64,f32}::from_str in favor of from_str in the prelude

Like issue #9209, remove float::{from_str, from_str_radix} in favor of
the two corresponding traits. The same for modules f64 and f32.

New usage is:

    from_str::<float>("1.2e34")


Trivial merge