]> git.lizzy.rs Git - rust.git/commitdiff
add missing import
authorNick Sweeting <git@nicksweeting.com>
Tue, 28 Mar 2017 17:27:46 +0000 (13:27 -0400)
committerGitHub <noreply@github.com>
Tue, 28 Mar 2017 17:27:46 +0000 (13:27 -0400)
src/libstd/io/mod.rs

index 1b0c992ba0976605fa7b10e9abb7df47ad74c73b..32ead78f6cd58937ababdd4653b073c9144c5ca6 100644 (file)
 //! on the return value to catch any possible errors:
 //!
 //! ```
+//! use std::io;
+//!
 //! let mut input = String::new();
 //!
 //! io::stdin().read_line(&mut input).unwrap();