From 327c9023420a0484189e250b2185f0c49b909caf Mon Sep 17 00:00:00 2001 From: Sebastian Hahn Date: Wed, 20 Jan 2016 06:48:11 +0100 Subject: [PATCH] Fix incorrect stability annotations for arc::Weak This was accidentally introduced in 7e2ffc7090a70fe8c77a0e03fcec3cb1387141f2, b44ee371b8beea77aa1364460acbba14a8516559 and 36ba96ea3cfef575ddc5eea7754a1b70b50e2080. --- src/liballoc/arc.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs index 169634a7c8255..424a689bcb0b9 100644 --- a/src/liballoc/arc.rs +++ b/src/liballoc/arc.rs @@ -149,15 +149,15 @@ pub struct Weak { _ptr: Shared>, } -#[stable(feature = "rust1", since = "1.0.0")] +#[stable(feature = "arc_weak", since = "1.4.0")] unsafe impl Send for Weak {} -#[stable(feature = "rust1", since = "1.0.0")] +#[stable(feature = "arc_weak", since = "1.4.0")] unsafe impl Sync for Weak {} #[unstable(feature = "coerce_unsized", issue = "27732")] impl, U: ?Sized> CoerceUnsized> for Weak {} -#[stable(feature = "rust1", since = "1.0.0")] +#[stable(feature = "arc_weak", since = "1.4.0")] impl fmt::Debug for Weak { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { write!(f, "(Weak)") @@ -681,7 +681,7 @@ impl Clone for Weak { } } -#[stable(feature = "rust1", since = "1.0.0")] +#[stable(feature = "arc_weak", since = "1.4.0")] impl Drop for Weak { /// Drops the `Weak`. ///