Skip to content

Commit

Permalink
Auto merge of #58423 - nox:relax-bounds-buf-reader, r=dtolnay
Browse files Browse the repository at this point in the history
Relax Read bounds on a bunch of BufReader<R> methods
  • Loading branch information
bors committed Mar 5, 2019
2 parents a9da8fc + 95840b3 commit f22dca0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libstd/io/buffered.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ impl<R: Read> BufReader<R> {
}
}
}
}

impl<R> BufReader<R> {
/// Gets a reference to the underlying reader.
///
/// It is inadvisable to directly read from the underlying reader.
Expand Down

0 comments on commit f22dca0

Please sign in to comment.