doc: mut not needed
This commit is contained in:
@@ -182,7 +182,7 @@
|
|||||||
//!
|
//!
|
||||||
//! # 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);
|
//! let line = try!(line);
|
||||||
|
|||||||
Reference in New Issue
Block a user