Skip to content

Commit 8e9008d

Browse files
committed
doc: mut not needed
1 parent 102bab3 commit 8e9008d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/io/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
//!
183183
//! # fn foo() -> io::Result<()> {
184184
//! let f = try!(File::open("foo.txt"));
185-
//! let mut reader = BufReader::new(f);
185+
//! let reader = BufReader::new(f);
186186
//!
187187
//! for line in reader.lines() {
188188
//! let line = try!(line);

0 commit comments

Comments
 (0)