Skip to content

Commit c3e47d9

Browse files
committed
Fix implementation to specialize
1 parent f45bdcc commit c3e47d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/io/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2480,7 +2480,7 @@ impl<R: Read> Iterator for Bytes<R> {
24802480
}
24812481

24822482
#[stable(feature = "bufreader_size_hint", since = "1.51.0")]
2483-
impl<T> Iterator for Bytes<BufReader<T>> {
2483+
impl<R: Read> Iterator for Bytes<BufReader<R>> {
24842484
fn size_hint(&self) -> (usize, Option<usize>) {
24852485
(self.inner.buffer().len(), None)
24862486
}

0 commit comments

Comments
 (0)