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 { _ptr: Shared>, } -#[stable(feature = "rust1", since = "1.0.0")] +#[stable(feature = "rc_weak", since = "1.4.0")] impl !marker::Send for Weak {} -#[stable(feature = "rust1", since = "1.0.0")] +#[stable(feature = "rc_weak", since = "1.4.0")] impl !marker::Sync for Weak {} #[unstable(feature = "coerce_unsized", issue = "27732")] @@ -753,7 +753,7 @@ impl Weak { } } -#[stable(feature = "rust1", since = "1.0.0")] +#[stable(feature = "rc_weak", since = "1.4.0")] impl Drop for Weak { /// Drops the `Weak`. /// @@ -819,7 +819,7 @@ impl Clone for Weak { } } -#[stable(feature = "rust1", since = "1.0.0")] +#[stable(feature = "rc_weak", since = "1.4.0")] impl fmt::Debug for Weak { fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { write!(f, "(Weak)")