about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2015-11-06 00:13:46 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2015-11-06 00:13:46 +0300
commit2ef07f05192c98c7441977420efde6730d730b25 (patch)
tree70588884d3842a5a63bb8ae6d961f8a7a3a24d9f /src/liballoc
parent7839827a39c9f2eff7dd8146d167de574d09809b (diff)
downloadrust-2ef07f05192c98c7441977420efde6730d730b25.tar.gz
rust-2ef07f05192c98c7441977420efde6730d730b25.zip
Remove stability annotations from trait impl items
Remove `stable` stability annotations from inherent impls
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/arc.rs1
-rw-r--r--src/liballoc/boxed.rs2
-rw-r--r--src/liballoc/rc.rs1
3 files changed, 0 insertions, 4 deletions
diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs
index 95dcdd22fd0..a5a15cfe66e 100644
--- a/src/liballoc/arc.rs
+++ b/src/liballoc/arc.rs
@@ -881,7 +881,6 @@ impl<T> fmt::Pointer for Arc<T> {
 
 #[stable(feature = "rust1", since = "1.0.0")]
 impl<T: Default> Default for Arc<T> {
-    #[stable(feature = "rust1", since = "1.0.0")]
     fn default() -> Arc<T> {
         Arc::new(Default::default())
     }
diff --git a/src/liballoc/boxed.rs b/src/liballoc/boxed.rs
index 4783b4339da..2e4ac13b34d 100644
--- a/src/liballoc/boxed.rs
+++ b/src/liballoc/boxed.rs
@@ -264,7 +264,6 @@ impl<T : ?Sized> Box<T> {
 
 #[stable(feature = "rust1", since = "1.0.0")]
 impl<T: Default> Default for Box<T> {
-    #[stable(feature = "rust1", since = "1.0.0")]
     fn default() -> Box<T> {
         box Default::default()
     }
@@ -272,7 +271,6 @@ impl<T: Default> Default for Box<T> {
 
 #[stable(feature = "rust1", since = "1.0.0")]
 impl<T> Default for Box<[T]> {
-    #[stable(feature = "rust1", since = "1.0.0")]
     fn default() -> Box<[T]> {
         Box::<[T; 0]>::new([])
     }
diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs
index d229d1c815c..672b63eda67 100644
--- a/src/liballoc/rc.rs
+++ b/src/liballoc/rc.rs
@@ -508,7 +508,6 @@ impl<T: Default> Default for Rc<T> {
     /// let x: Rc<i32> = Default::default();
     /// ```
     #[inline]
-    #[stable(feature = "rust1", since = "1.0.0")]
     fn default() -> Rc<T> {
         Rc::new(Default::default())
     }