We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 265db94 commit 93870c8Copy full SHA for 93870c8
library/std/src/io/mod.rs
@@ -2471,7 +2471,6 @@ impl<R: Read> Iterator for Bytes<R> {
2471
}
2472
2473
2474
-#[stable(feature = "bufreader_size_hint", since = "1.51.0")]
2475
trait SizeHint {
2476
fn lower_bound(&self) -> usize;
2477
@@ -2484,14 +2483,12 @@ trait SizeHint {
2484
2483
2485
2486
2487
2488
impl<T> SizeHint for T {
2489
default fn lower_bound(&self) -> usize {
2490
0
2491
2492
2493
2494
2495
impl<T> SizeHint for BufReader<T> {
2496
fn lower_bound(&self) -> usize {
2497
self.buffer().len()
0 commit comments