We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6730e9 commit 1a97be6Copy full SHA for 1a97be6
library/std/src/io/mod.rs
@@ -2477,7 +2477,7 @@ impl<R: Read> Iterator for Bytes<R> {
2477
}
2478
2479
#[stable(feature = "bufreader_size_hint", since = "1.51.0")]
2480
-impl<T> Iterator for Bytes<BufReader<T>> {
+impl<R: Read> Iterator for Bytes<BufReader<R>> {
2481
fn size_hint(&self) -> (usize, Option<usize>) {
2482
(self.inner.buffer().len(), None)
2483
0 commit comments