diff options
| author | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2016-05-05 23:55:36 +0200 |
|---|---|---|
| committer | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2016-05-06 21:04:40 +0200 |
| commit | 9f935c8dd891ec6eb0809b8438656d1b39c2e2f5 (patch) | |
| tree | c559a9283c45a9f9438eda66a7f29315247b508f /src/libstd | |
| parent | 8e9008dc307f97f596add6cbb27d3b1ca1b88d4a (diff) | |
| download | rust-9f935c8dd891ec6eb0809b8438656d1b39c2e2f5.tar.gz rust-9f935c8dd891ec6eb0809b8438656d1b39c2e2f5.zip | |
doc: binding not needed
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/io/mod.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs index 46c6a23d8d4..a058337a50a 100644 --- a/src/libstd/io/mod.rs +++ b/src/libstd/io/mod.rs @@ -185,8 +185,7 @@ //! let reader = BufReader::new(f); //! //! for line in reader.lines() { -//! let line = try!(line); -//! println!("{}", line); +//! println!("{}", try!(line)); //! } //! //! # Ok(()) |
