diff options
| author | bors <bors@rust-lang.org> | 2016-01-21 07:13:16 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-01-21 07:13:16 +0000 |
| commit | d5ec3ab6851eefaf87ea2247c2ce373f1e905351 (patch) | |
| tree | 84981a4daec95496454b19e7c223b240bf2363c8 /src/liballoc | |
| parent | 670f5b06e47d847b3fc8c61392a65202f1d3dfa2 (diff) | |
| parent | 34f17d98eaf10ef3d6eb163577b68c1746ea7afd (diff) | |
| download | rust-d5ec3ab6851eefaf87ea2247c2ce373f1e905351.tar.gz rust-d5ec3ab6851eefaf87ea2247c2ce373f1e905351.zip | |
Auto merge of #31042 - shahn:weak_annotations, r=alexcrichton
This was accidentally introduced in 7e2ffc7090a70fe8c77a0e03fcec3cb1387141f2.
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/rc.rs | 8 |
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)") |
