rust-lang/rust — pull request #17350 by pablobm (2014-09-17 20:07:52+00:00)
Title: Fix warning and make code follow the text better

Without this change, this piece of code throws a warning because `std::io` is imported, and then `std::io::stdin` is used explicitly.

From reading the paragraphs that follow that code, I assume that the original intent of the author was to show that code without the first line, the `use` line. That way, the text seems to make better sense to me.