summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-11-06 14:57:41 +0000
committerbors <bors@rust-lang.org>2015-11-06 14:57:41 +0000
commit2143a9ff9a4b93b1b4bf2815b6ca828cc630c863 (patch)
tree18f7b1dde96a52f8aa796155dd8e554f3f919cab /src/libstd
parent7cd8f69a4f06d41979f95c48ec6bca2310fae995 (diff)
parent2ef07f05192c98c7441977420efde6730d730b25 (diff)
downloadrust-2143a9ff9a4b93b1b4bf2815b6ca828cc630c863.tar.gz
rust-2143a9ff9a4b93b1b4bf2815b6ca828cc630c863.zip
Auto merge of #29643 - petrochenkov:stability5, r=alexcrichton
Also remove `stable` stability annotations from inherent impls

(There will be a warning for useless stability annotations soon.)

r? @Gankro
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/collections/hash/set.rs1
-rw-r--r--src/libstd/fs.rs1
-rw-r--r--src/libstd/io/mod.rs1
-rw-r--r--src/libstd/num/f32.rs1
-rw-r--r--src/libstd/num/f64.rs1
5 files changed, 0 insertions, 5 deletions
diff --git a/src/libstd/collections/hash/set.rs b/src/libstd/collections/hash/set.rs
index 1f6b3493996..d4cef2ab07a 100644
--- a/src/libstd/collections/hash/set.rs
+++ b/src/libstd/collections/hash/set.rs
@@ -675,7 +675,6 @@ impl<T, S> Default for HashSet<T, S>
     where T: Eq + Hash,
           S: HashState + Default,
 {
-    #[stable(feature = "rust1", since = "1.0.0")]
     fn default() -> HashSet<T, S> {
         HashSet::with_hash_state(Default::default())
     }
diff --git a/src/libstd/fs.rs b/src/libstd/fs.rs
index 03b8b455299..657396df22a 100644
--- a/src/libstd/fs.rs
+++ b/src/libstd/fs.rs
@@ -677,7 +677,6 @@ impl Iterator for ReadDir {
     }
 }
 
-#[stable(feature = "rust1", since = "1.0.0")]
 impl DirEntry {
     /// Returns the full path to the file that this entry represents.
     ///
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs
index ebe50a6e2b8..34736f81033 100644
--- a/src/libstd/io/mod.rs
+++ b/src/libstd/io/mod.rs
@@ -1534,7 +1534,6 @@ pub struct Take<T> {
     limit: u64,
 }
 
-#[stable(feature = "rust1", since = "1.0.0")]
 impl<T> Take<T> {
     /// Returns the number of bytes that can be read before this instance will
     /// return EOF.
diff --git a/src/libstd/num/f32.rs b/src/libstd/num/f32.rs
index a04dfbeebe8..439ed406489 100644
--- a/src/libstd/num/f32.rs
+++ b/src/libstd/num/f32.rs
@@ -120,7 +120,6 @@ mod cmath {
 
 #[cfg(not(test))]
 #[lang = "f32"]
-#[stable(feature = "rust1", since = "1.0.0")]
 impl f32 {
     /// Parses a float as with a given radix
     #[unstable(feature = "float_from_str_radix", reason = "recently moved API",
diff --git a/src/libstd/num/f64.rs b/src/libstd/num/f64.rs
index 329d3329be6..aa0e7df76ab 100644
--- a/src/libstd/num/f64.rs
+++ b/src/libstd/num/f64.rs
@@ -77,7 +77,6 @@ mod cmath {
 
 #[cfg(not(test))]
 #[lang = "f64"]
-#[stable(feature = "rust1", since = "1.0.0")]
 impl f64 {
     /// Parses a float as with a given radix
     #[unstable(feature = "float_from_str_radix", reason = "recently moved API",