Add back lower_bound as memeber
This commit is contained in:
parent
eea99f491b
commit
7e56637c74
1 changed files with 2 additions and 0 deletions
|
@ -2481,6 +2481,8 @@ impl<R: Read + SizeHint> Iterator for Bytes<R> {
|
|||
|
||||
#[stable(feature = "bufreader_size_hint", since = "1.51.0")]
|
||||
trait SizeHint {
|
||||
fn lower_bound(&self) -> usize {
|
||||
|
||||
fn upper_bound(&self) -> Option<usize> {
|
||||
None
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue