Skip to content

Commit d5ec3ab

Browse files
committed
Auto merge of #31042 - shahn:weak_annotations, r=alexcrichton
This was accidentally introduced in 7e2ffc7.
2 parents 670f5b0 + 34f17d9 commit d5ec3ab

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/liballoc/rc.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -715,9 +715,9 @@ pub struct Weak<T: ?Sized> {
715715
_ptr: Shared<RcBox<T>>,
716716
}
717717

718-
#[stable(feature = "rust1", since = "1.0.0")]
718+
#[stable(feature = "rc_weak", since = "1.4.0")]
719719
impl<T: ?Sized> !marker::Send for Weak<T> {}
720-
#[stable(feature = "rust1", since = "1.0.0")]
720+
#[stable(feature = "rc_weak", since = "1.4.0")]
721721
impl<T: ?Sized> !marker::Sync for Weak<T> {}
722722

723723
#[unstable(feature = "coerce_unsized", issue = "27732")]
@@ -753,7 +753,7 @@ impl<T: ?Sized> Weak<T> {
753753
}
754754
}
755755

756-
#[stable(feature = "rust1", since = "1.0.0")]
756+
#[stable(feature = "rc_weak", since = "1.4.0")]
757757
impl<T: ?Sized> Drop for Weak<T> {
758758
/// Drops the `Weak<T>`.
759759
///
@@ -819,7 +819,7 @@ impl<T: ?Sized> Clone for Weak<T> {
819819
}
820820
}
821821

822-
#[stable(feature = "rust1", since = "1.0.0")]
822+
#[stable(feature = "rc_weak", since = "1.4.0")]
823823
impl<T: ?Sized + fmt::Debug> fmt::Debug for Weak<T> {
824824
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
825825
write!(f, "(Weak)")

0 commit comments

Comments
 (0)