File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -149,15 +149,15 @@ pub struct Weak<T: ?Sized> {
149
149
_ptr: Shared<ArcInner<T>>,
150
150
}
151
151
152
- #[stable(feature = "rust1 ", since = "1.0 .0")]
152
+ #[stable(feature = "arc_weak ", since = "1.4 .0")]
153
153
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")]
155
155
unsafe impl<T: ?Sized + Sync + Send> Sync for Weak<T> {}
156
156
157
157
#[unstable(feature = "coerce_unsized", issue = "27732")]
158
158
impl<T: ?Sized + Unsize<U>, U: ?Sized> CoerceUnsized<Weak<U>> for Weak<T> {}
159
159
160
- #[stable(feature = "rust1 ", since = "1.0 .0")]
160
+ #[stable(feature = "arc_weak ", since = "1.4 .0")]
161
161
impl<T: ?Sized + fmt::Debug> fmt::Debug for Weak<T> {
162
162
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
163
163
write!(f, "(Weak)")
@@ -681,7 +681,7 @@ impl<T: ?Sized> Clone for Weak<T> {
681
681
}
682
682
}
683
683
684
- #[stable(feature = "rust1 ", since = "1.0 .0")]
684
+ #[stable(feature = "arc_weak ", since = "1.4 .0")]
685
685
impl<T: ?Sized> Drop for Weak<T> {
686
686
/// Drops the `Weak<T>`.
687
687
///
You can’t perform that action at this time.
0 commit comments