Skip to content

Commit c6ba7fe

Browse files
committed
Auto merge of #31043 - shahn:arc_weak, r=alexcrichton
This was accidentally introduced in 7e2ffc7, b44ee37 and 36ba96e.
2 parents 340e7eb + 327c902 commit c6ba7fe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/liballoc/arc.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -149,15 +149,15 @@ pub struct Weak<T: ?Sized> {
149149
_ptr: Shared<ArcInner<T>>,
150150
}
151151

152-
#[stable(feature = "rust1", since = "1.0.0")]
152+
#[stable(feature = "arc_weak", since = "1.4.0")]
153153
unsafe impl<T: ?Sized + Sync + Send> Send for Weak<T> {}
154-
#[stable(feature = "rust1", since = "1.0.0")]
154+
#[stable(feature = "arc_weak", since = "1.4.0")]
155155
unsafe impl<T: ?Sized + Sync + Send> Sync for Weak<T> {}
156156

157157
#[unstable(feature = "coerce_unsized", issue = "27732")]
158158
impl<T: ?Sized + Unsize<U>, U: ?Sized> CoerceUnsized<Weak<U>> for Weak<T> {}
159159

160-
#[stable(feature = "rust1", since = "1.0.0")]
160+
#[stable(feature = "arc_weak", since = "1.4.0")]
161161
impl<T: ?Sized + fmt::Debug> fmt::Debug for Weak<T> {
162162
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
163163
write!(f, "(Weak)")
@@ -681,7 +681,7 @@ impl<T: ?Sized> Clone for Weak<T> {
681681
}
682682
}
683683

684-
#[stable(feature = "rust1", since = "1.0.0")]
684+
#[stable(feature = "arc_weak", since = "1.4.0")]
685685
impl<T: ?Sized> Drop for Weak<T> {
686686
/// Drops the `Weak<T>`.
687687
///

0 commit comments

Comments
 (0)