Remove stable annotation
This commit is contained in:
parent
265db94dc2
commit
93870c8d5f
1 changed files with 0 additions and 3 deletions
|
|
@ -2471,7 +2471,6 @@ impl<R: Read> Iterator for Bytes<R> {
|
|||
}
|
||||
}
|
||||
|
||||
#[stable(feature = "bufreader_size_hint", since = "1.51.0")]
|
||||
trait SizeHint {
|
||||
fn lower_bound(&self) -> usize;
|
||||
|
||||
|
|
@ -2484,14 +2483,12 @@ trait SizeHint {
|
|||
}
|
||||
}
|
||||
|
||||
#[stable(feature = "bufreader_size_hint", since = "1.51.0")]
|
||||
impl<T> SizeHint for T {
|
||||
default fn lower_bound(&self) -> usize {
|
||||
0
|
||||
}
|
||||
}
|
||||
|
||||
#[stable(feature = "bufreader_size_hint", since = "1.51.0")]
|
||||
impl<T> SizeHint for BufReader<T> {
|
||||
fn lower_bound(&self) -> usize {
|
||||
self.buffer().len()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue