diff options
| author | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2016-05-05 23:55:08 +0200 |
|---|---|---|
| committer | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2016-05-06 21:04:40 +0200 |
| commit | 8e9008dc307f97f596add6cbb27d3b1ca1b88d4a (patch) | |
| tree | 28292ce8b24706e2e1f3e27349bc9ed1ea83b749 /src/libstd/io | |
| parent | 102bab3d6811eb2ca672730e853add3b568c6210 (diff) | |
| download | rust-8e9008dc307f97f596add6cbb27d3b1ca1b88d4a.tar.gz rust-8e9008dc307f97f596add6cbb27d3b1ca1b88d4a.zip | |
doc: mut not needed
Diffstat (limited to 'src/libstd/io')
| -rw-r--r-- | src/libstd/io/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index ca15aa2d56c..46c6a23d8d4 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -182,7 +182,7 @@ //! //! # 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); |
