title: How to read an integer input from the user in Rust 1.0?
body: <p>Existing answers I've found are all based on <code>from_str</code> (such as  <a href="https://stackoverflow.com/q/25632070/155423">Reading in user input from console once efficiently</a>), but apparently <code>from_str(x)</code> has changed into <code>x.parse()</code> in Rust 1.0. As a newbie, it's not obvious how the original solution should be adapted taking this change into account. </p>
  
  <p>As of Rust 1.0, what is the easiest way to get an integer input from the user? </p>