Rollup merge of #33442 - tshepang:trim, r=steveklabnik
doc: trim some needless code
This commit is contained in:
commit
f4453bba95
@ -182,11 +182,10 @@
|
||||
//!
|
||||
//! # fn foo() -> io::Result<()> {
|
||||
//! let f = try!(File::open("foo.txt"));
|
||||
//! let mut reader = BufReader::new(f);
|
||||
//! let reader = BufReader::new(f);
|
||||
//!
|
||||
//! for line in reader.lines() {
|
||||
//! let line = try!(line);
|
||||
//! println!("{}", line);
|
||||
//! println!("{}", try!(line));
|
||||
//! }
|
||||
//!
|
||||
//! # Ok(())
|
||||
|
Loading…
Reference in New Issue
Block a user