diff options
| author | bors <bors@rust-lang.org> | 2016-01-21 17:11:13 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-01-21 17:11:13 +0000 |
| commit | c6ba7fee97e6834f3a72281f88621c10bd562669 (patch) | |
| tree | d23f00878359938d3a229c63ad8a0332943ed697 /src/liballoc | |
| parent | 340e7eb2a7330fd73e6ae745690fb7d92ddba4d4 (diff) | |
| parent | 327c9023420a0484189e250b2185f0c49b909caf (diff) | |
| download | rust-c6ba7fee97e6834f3a72281f88621c10bd562669.tar.gz rust-c6ba7fee97e6834f3a72281f88621c10bd562669.zip | |
Auto merge of #31043 - shahn:arc_weak, r=alexcrichton
This was accidentally introduced in 7e2ffc7090a70fe8c77a0e03fcec3cb1387141f2, b44ee371b8beea77aa1364460acbba14a8516559 and 36ba96ea3cfef575ddc5eea7754a1b70b50e2080.
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/arc.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs index 169634a7c82..424a689bcb0 100644 --- a/src/liballoc/arc.rs +++ b/src/liballoc/arc.rs @@ -149,15 +149,15 @@ pub struct Weak<T: ?Sized> { _ptr: Shared<ArcInner<T>>, } -#[stable(feature = "rust1", since = "1.0.0")] +#[stable(feature = "arc_weak", since = "1.4.0")] unsafe impl<T: ?Sized + Sync + Send> Send for Weak<T> {} -#[stable(feature = "rust1", since = "1.0.0")] +#[stable(feature = "arc_weak", since = "1.4.0")] unsafe impl<T: ?Sized + Sync + Send> Sync for Weak<T> {} #[unstable(feature = "coerce_unsized", issue = "27732")] impl<T: ?Sized + Unsize<U>, U: ?Sized> CoerceUnsized<Weak<U>> for Weak<T> {} -#[stable(feature = "rust1", since = "1.0.0")] +#[stable(feature = "arc_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)") @@ -681,7 +681,7 @@ impl<T: ?Sized> Clone for Weak<T> { } } -#[stable(feature = "rust1", since = "1.0.0")] +#[stable(feature = "arc_weak", since = "1.4.0")] impl<T: ?Sized> Drop for Weak<T> { /// Drops the `Weak<T>`. /// |
