title: How to parse a float with nightly Rust?
body: <p>I can't find out how to parse a float from current Rust, <a href="http://doc.rust-lang.org/std/f32/primitive.f32.html#method.from_str" rel="nofollow">according to the documentation</a> I think this should work : </p>
  
  <pre><code>use std::f32;
  use std::from_str::FromStr;
  
  fn main() {
      let result = f32::from_str("3.14");
      println!("{}", result.unwrap());
  }
  </code></pre>
  
  <p>but the compiler complains :</p>
  
  <pre><code>&lt;anon&gt;:5:18: 5:31 error: unresolved name `f32::from_str`.
  &lt;anon&gt;:5     let result = f32::from_str("3.14");
                            ^~~~~~~~~~~~~
  </code></pre>
  
  <p>(See on Rust playpen : <a href="http://is.gd/XjLSpB" rel="nofollow">here</a>)</p>
  
  <p>What I am missing here ?</p>