Skip to content

Commit cd2ec7e

Browse files
authored
add missing import
1 parent 4806f01 commit cd2ec7e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libstd/io/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@
150150
//! on the return value to catch any possible errors:
151151
//!
152152
//! ```
153+
//! use std::io;
154+
//!
153155
//! let mut input = String::new();
154156
//!
155157
//! io::stdin().read_line(&mut input).unwrap();

0 commit comments

Comments
 (0)