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.
This commit is contained in:
Jonathan Turner 2016-09-22 11:25:02 -07:00 committed by GitHub
commit c1e39380fb

View File

@ -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.
///