mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-26 14:43:24 +00:00
Remove stable annotation
This commit is contained in:
parent
265db94dc2
commit
93870c8d5f
@ -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…
Reference in New Issue
Block a user