title: How can I convert a string of numbers to an array or vector of integers in Rust?
body: <p>I'm writing on STDIN a string of numbers (e.g <code>4 10 30 232312</code>) and I want to read that and convert to an array (or a vector) of integers, but I can't find the right way. So far I have:</p>
  
  <pre><code>use std::io;
  
  fn main() {
      let mut reader = io::stdin();
      let numbers = reader.read_line().unwrap();
  }
  </code></pre>