title: no method named flush found for type std::io::Stdout in the current scope
body: <p>All the documentation I've found regarding flushing suggests that the proper way to flush stdout is as follows:</p>
  
  <pre><code>std::io::stdout().flush().expect("some error message");
  </code></pre>
  
  <p>This results in </p>
  
  <blockquote>
    <pre class="lang-none prettyprint-override"><code>no method named flush found for type std::io::Stdout in the current scope
  </code></pre>
  </blockquote>
  
  <p>What am I doing wrong?</p>