mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-26 14:43:24 +00:00
Add back lower_bound as memeber
This commit is contained in:
parent
eea99f491b
commit
7e56637c74
@ -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…
Reference in New Issue
Block a user