Auto merge of #31043 - shahn:arc_weak, r=alexcrichton

This was accidentally introduced in
7e2ffc7090,
b44ee371b8 and
36ba96ea3c.
This commit is contained in:
bors 2016-01-21 17:11:13 +00:00
commit c6ba7fee97

View file

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