File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 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> {
12891289 /// If `self` was created using [`Weak::new`], this will return 0.
12901290 ///
12911291 /// [`Weak::new`]: #method.new
1292- #[ unstable( feature = "weak_counts" , issue = "0 " ) ]
1292+ #[ unstable( feature = "weak_counts" , issue = "57977 " ) ]
12931293 pub fn strong_count ( & self ) -> usize {
12941294 if let Some ( inner) = self . inner ( ) {
12951295 inner. strong ( )
@@ -1305,7 +1305,7 @@ impl<T: ?Sized> Weak<T> {
13051305 /// value.
13061306 ///
13071307 /// [`Weak::new`]: #method.new
1308- #[ unstable( feature = "weak_counts" , issue = "0 " ) ]
1308+ #[ unstable( feature = "weak_counts" , issue = "57977 " ) ]
13091309 pub fn weak_count ( & self ) -> Option < usize > {
13101310 self . inner ( ) . map ( |inner| {
13111311 if inner. strong ( ) > 0 {
Original file line number Diff line number Diff line change @@ -1122,7 +1122,7 @@ impl<T: ?Sized> Weak<T> {
11221122 /// If `self` was created using [`Weak::new`], this will return 0.
11231123 ///
11241124 /// [`Weak::new`]: #method.new
1125- #[ unstable( feature = "weak_counts" , issue = "0 " ) ]
1125+ #[ unstable( feature = "weak_counts" , issue = "57977 " ) ]
11261126 pub fn strong_count ( & self ) -> usize {
11271127 if let Some ( inner) = self . inner ( ) {
11281128 inner. strong . load ( SeqCst )
@@ -1145,7 +1145,7 @@ impl<T: ?Sized> Weak<T> {
11451145 /// `Weak`s pointing to the same value.
11461146 ///
11471147 /// [`Weak::new`]: #method.new
1148- #[ unstable( feature = "weak_counts" , issue = "0 " ) ]
1148+ #[ unstable( feature = "weak_counts" , issue = "57977 " ) ]
11491149 pub fn weak_count ( & self ) -> Option < usize > {
11501150 // Due to the implicit weak pointer added when any strong pointers are
11511151 // around, we cannot implement `weak_count` correctly since it
You can’t perform that action at this time.
0 commit comments