From 2ef07f05192c98c7441977420efde6730d730b25 Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Fri, 6 Nov 2015 00:13:46 +0300 Subject: Remove stability annotations from trait impl items Remove `stable` stability annotations from inherent impls --- src/libstd/collections/hash/set.rs | 1 - src/libstd/fs.rs | 1 - src/libstd/io/mod.rs | 1 - src/libstd/num/f32.rs | 1 - src/libstd/num/f64.rs | 1 - 5 files changed, 5 deletions(-) (limited to 'src/libstd') 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 Default for HashSet where T: Eq + Hash, S: HashState + Default, { - #[stable(feature = "rust1", since = "1.0.0")] fn default() -> HashSet { HashSet::with_hash_state(Default::default()) } diff --git a/src/libstd/fs.rs b/src/libstd/fs.rs index 6178f1bbb8e..5796d96468a 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 { limit: u64, } -#[stable(feature = "rust1", since = "1.0.0")] impl Take { /// 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", -- cgit 1.4.1-3-g733a5