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 5881fc9 commit 6c8f0a6Copy full SHA for 6c8f0a6
library/std/src/io/mod.rs
@@ -2468,7 +2468,6 @@ impl<R: Read> Iterator for Bytes<R> {
2468
}
2469
2470
2471
-#[stable(feature = "bufreader_size_hint", since = "1.51.0")]
2472
trait SizeHint {
2473
fn lower_bound(&self) -> usize;
2474
@@ -2481,14 +2480,12 @@ trait SizeHint {
2481
2480
2482
2483
2484
2485
impl<T> SizeHint for T {
2486
default fn lower_bound(&self) -> usize {
2487
0
2488
2489
2490
2491
2492
impl<T> SizeHint for BufReader<T> {
2493
fn lower_bound(&self) -> usize {
2494
self.buffer().len()
0 commit comments