about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2016-01-20 05:52:05 +0100
committerSebastian Hahn <sebastian@torproject.org>2016-01-20 05:56:28 +0100
commit34f17d98eaf10ef3d6eb163577b68c1746ea7afd (patch)
tree70dfd640e18df4f845f08b6d0e1cff7083137bc0 /src/liballoc
parent2bd875d3d4a9f06a4a18325d6e4a68b5234a09f6 (diff)
downloadrust-34f17d98eaf10ef3d6eb163577b68c1746ea7afd.tar.gz
rust-34f17d98eaf10ef3d6eb163577b68c1746ea7afd.zip
Fix incorrect stability annotations for Weak
This was accidentally introduced in
7e2ffc7090a70fe8c77a0e03fcec3cb1387141f2.
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/rc.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs
index 2c45e88bb24..3c4bea95ba1 100644
--- a/src/liballoc/rc.rs
+++ b/src/liballoc/rc.rs
@@ -715,9 +715,9 @@ pub struct Weak<T: ?Sized> {
     _ptr: Shared<RcBox<T>>,
 }
 
-#[stable(feature = "rust1", since = "1.0.0")]
+#[stable(feature = "rc_weak", since = "1.4.0")]
 impl<T: ?Sized> !marker::Send for Weak<T> {}
-#[stable(feature = "rust1", since = "1.0.0")]
+#[stable(feature = "rc_weak", since = "1.4.0")]
 impl<T: ?Sized> !marker::Sync for Weak<T> {}
 
 #[unstable(feature = "coerce_unsized", issue = "27732")]
@@ -753,7 +753,7 @@ impl<T: ?Sized> Weak<T> {
     }
 }
 
-#[stable(feature = "rust1", since = "1.0.0")]
+#[stable(feature = "rc_weak", since = "1.4.0")]
 impl<T: ?Sized> Drop for Weak<T> {
     /// Drops the `Weak<T>`.
     ///
@@ -819,7 +819,7 @@ impl<T: ?Sized> Clone for Weak<T> {
     }
 }
 
-#[stable(feature = "rust1", since = "1.0.0")]
+#[stable(feature = "rc_weak", since = "1.4.0")]
 impl<T: ?Sized + fmt::Debug> fmt::Debug for Weak<T> {
     fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
         write!(f, "(Weak)")