Remove stable annotation

This commit is contained in:
Xavientois 2021-01-15 20:40:10 -05:00
parent 265db94dc2
commit 93870c8d5f

View File

@ -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()