diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index 46c6a23d8d4..a058337a50a 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -185,8 +185,7 @@ //! let reader = BufReader::new(f); //! //! for line in reader.lines() { -//! let line = try!(line); -//! println!("{}", line); +//! println!("{}", try!(line)); //! } //! //! # Ok(())