Skip to content

Commit 7e56637

Browse files
committed
Add back lower_bound as memeber
1 parent eea99f4 commit 7e56637

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

library/std/src/io/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2481,6 +2481,8 @@ impl<R: Read + SizeHint> Iterator for Bytes<R> {
24812481

24822482
#[stable(feature = "bufreader_size_hint", since = "1.51.0")]
24832483
trait SizeHint {
2484+
fn lower_bound(&self) -> usize {
2485+
24842486
fn upper_bound(&self) -> Option<usize> {
24852487
None
24862488
}

0 commit comments

Comments
 (0)