about summary refs log tree commit diff
diff options
context:
space:
mode:
authorXavientois <joshua.rampersad@hotmail.com>2021-01-15 20:40:10 -0500
committerXavientois <joshua.rampersad@hotmail.com>2021-01-31 08:31:35 -0500
commit93870c8d5ff5750db2e138f35f783078e8ad8dd0 (patch)
treec467b2accc44f7b6434aae579943f1b0920cff49
parent265db94dc29b4e089e134795eac24b1b0a2faab1 (diff)
downloadrust-93870c8d5ff5750db2e138f35f783078e8ad8dd0.tar.gz
rust-93870c8d5ff5750db2e138f35f783078e8ad8dd0.zip
Remove stable annotation
-rw-r--r--library/std/src/io/mod.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/library/std/src/io/mod.rs b/library/std/src/io/mod.rs
index 766da2ed626..754e22f2288 100644
--- a/library/std/src/io/mod.rs
+++ b/library/std/src/io/mod.rs
@@ -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()