Skip to content

Commit

Permalink
Rollup merge of rust-lang#36632 - CryZe:patch-3, r=sfackler
Browse files Browse the repository at this point in the history
Fix outdated Doc Comment on BufReader::seek

A long time ago non-panicking `unwrap` methods were renamed to `into_inner` in this Pull Request: rust-lang#19149

Looks like this doc comment was not updated however.
  • Loading branch information
Jonathan Turner authored Sep 22, 2016
2 parents bc7991a + e107c8b commit c1e3938
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libstd/io/buffered.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand Down

0 comments on commit c1e3938

Please sign in to comment.