Auto merge of #58423 - nox:relax-bounds-buf-reader, r=dtolnay

Relax Read bounds on a bunch of BufReader<R> methods
This commit is contained in:
bors 2019-03-05 05:40:16 +00:00
commit f22dca0a1b
1 changed files with 2 additions and 0 deletions

View File

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