Skip to content

Commit f22dca0

Browse files
committed
Auto merge of #58423 - nox:relax-bounds-buf-reader, r=dtolnay
Relax Read bounds on a bunch of BufReader<R> methods
2 parents a9da8fc + 95840b3 commit f22dca0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libstd/io/buffered.rs

+2
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ impl<R: Read> BufReader<R> {
101101
}
102102
}
103103
}
104+
}
104105

106+
impl<R> BufReader<R> {
105107
/// Gets a reference to the underlying reader.
106108
///
107109
/// It is inadvisable to directly read from the underlying reader.

0 commit comments

Comments
 (0)