Rollup merge of #33442 - tshepang:trim, r=steveklabnik

doc: trim some needless code
This commit is contained in:
Steve Klabnik 2016-05-07 15:35:19 -04:00
commit f4453bba95

View File

@ -182,11 +182,10 @@
//! //!
//! # fn foo() -> io::Result<()> { //! # fn foo() -> io::Result<()> {
//! let f = try!(File::open("foo.txt")); //! let f = try!(File::open("foo.txt"));
//! let mut reader = BufReader::new(f); //! let reader = BufReader::new(f);
//! //!
//! for line in reader.lines() { //! for line in reader.lines() {
//! let line = try!(line); //! println!("{}", try!(line));
//! println!("{}", line);
//! } //! }
//! //!
//! # Ok(()) //! # Ok(())