diff options
| author | Jonathan Turner <jonathandturner@users.noreply.github.com> | 2016-09-22 11:25:02 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-09-22 11:25:02 -0700 |
| commit | c1e39380fbb04691cdcf6c58e2c0054110fa698c (patch) | |
| tree | 6abb7ba9f93258c2e86ff4123a5e27189209c888 /src/libstd | |
| parent | bc7991a54ed4be556c5fc165e6f00b16646950b2 (diff) | |
| parent | e107c8b84969fbe52cae7c9fd61858fddc6e016b (diff) | |
| download | rust-c1e39380fbb04691cdcf6c58e2c0054110fa698c.tar.gz rust-c1e39380fbb04691cdcf6c58e2c0054110fa698c.zip | |
Rollup merge of #36632 - CryZe:patch-3, r=sfackler
Fix outdated Doc Comment on BufReader::seek A long time ago non-panicking `unwrap` methods were renamed to `into_inner` in this Pull Request: https://github.com/rust-lang/rust/pull/19149 Looks like this doc comment was not updated however.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/io/buffered.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/io/buffered.rs b/src/libstd/io/buffered.rs index dbb45d54f38..4ff8c6ac128 100644 --- a/src/libstd/io/buffered.rs +++ b/src/libstd/io/buffered.rs @@ -216,8 +216,8 @@ impl<R: Seek> Seek for BufReader<R> { /// /// Seeking always discards the internal buffer, even if the seek position /// would otherwise fall within it. This guarantees that calling - /// `.unwrap()` immediately after a seek yields the underlying reader at - /// the same position. + /// `.into_inner()` immediately after a seek yields the underlying reader + /// at the same position. /// /// See `std::io::Seek` for more details. /// |
