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`. ///