diff options
| author | Xavientois <joshua.rampersad@hotmail.com> | 2021-01-15 19:29:49 -0500 |
|---|---|---|
| committer | Xavientois <joshua.rampersad@hotmail.com> | 2021-01-31 08:31:35 -0500 |
| commit | 7e56637c749c4427ce0456022ea84e8393e5b0f7 (patch) | |
| tree | c95c62458a2d34831593ec0707c3bec3d0226fb4 | |
| parent | eea99f491b6000a836a8887a29d1ce85c666fe47 (diff) | |
| download | rust-7e56637c749c4427ce0456022ea84e8393e5b0f7.tar.gz rust-7e56637c749c4427ce0456022ea84e8393e5b0f7.zip | |
Add back lower_bound as memeber
| -rw-r--r-- | library/std/src/io/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/library/std/src/io/mod.rs b/library/std/src/io/mod.rs index 712e808a024..018fe1c52bf 100644 --- a/library/std/src/io/mod.rs +++ b/library/std/src/io/mod.rs @@ -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 } |
