File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1289,7 +1289,7 @@ impl<T: ?Sized> Weak<T> {
1289
1289
/// If `self` was created using [`Weak::new`], this will return 0.
1290
1290
///
1291
1291
/// [`Weak::new`]: #method.new
1292
- #[ unstable( feature = "weak_counts" , issue = "0 " ) ]
1292
+ #[ unstable( feature = "weak_counts" , issue = "57977 " ) ]
1293
1293
pub fn strong_count ( & self ) -> usize {
1294
1294
if let Some ( inner) = self . inner ( ) {
1295
1295
inner. strong ( )
@@ -1305,7 +1305,7 @@ impl<T: ?Sized> Weak<T> {
1305
1305
/// value.
1306
1306
///
1307
1307
/// [`Weak::new`]: #method.new
1308
- #[ unstable( feature = "weak_counts" , issue = "0 " ) ]
1308
+ #[ unstable( feature = "weak_counts" , issue = "57977 " ) ]
1309
1309
pub fn weak_count ( & self ) -> Option < usize > {
1310
1310
self . inner ( ) . map ( |inner| {
1311
1311
if inner. strong ( ) > 0 {
Original file line number Diff line number Diff line change @@ -1122,7 +1122,7 @@ impl<T: ?Sized> Weak<T> {
1122
1122
/// If `self` was created using [`Weak::new`], this will return 0.
1123
1123
///
1124
1124
/// [`Weak::new`]: #method.new
1125
- #[ unstable( feature = "weak_counts" , issue = "0 " ) ]
1125
+ #[ unstable( feature = "weak_counts" , issue = "57977 " ) ]
1126
1126
pub fn strong_count ( & self ) -> usize {
1127
1127
if let Some ( inner) = self . inner ( ) {
1128
1128
inner. strong . load ( SeqCst )
@@ -1145,7 +1145,7 @@ impl<T: ?Sized> Weak<T> {
1145
1145
/// `Weak`s pointing to the same value.
1146
1146
///
1147
1147
/// [`Weak::new`]: #method.new
1148
- #[ unstable( feature = "weak_counts" , issue = "0 " ) ]
1148
+ #[ unstable( feature = "weak_counts" , issue = "57977 " ) ]
1149
1149
pub fn weak_count ( & self ) -> Option < usize > {
1150
1150
// Due to the implicit weak pointer added when any strong pointers are
1151
1151
// around, we cannot implement `weak_count` correctly since it
You can’t perform that action at this time.
0 commit comments