diff options
| author | Jonas Schievink <jonasschievink@gmail.com> | 2019-01-29 22:34:35 +0100 |
|---|---|---|
| committer | Jonas Schievink <jonasschievink@gmail.com> | 2019-01-29 22:34:35 +0100 |
| commit | 0d314f08af086afd7a67131a621f861b2633d6d3 (patch) | |
| tree | bbcaee4aad711b54a1bffef05be40abfd3739cae /src/liballoc/sync.rs | |
| parent | b664341d917cafade5a2470579a4c122fdcf941b (diff) | |
| download | rust-0d314f08af086afd7a67131a621f861b2633d6d3.tar.gz rust-0d314f08af086afd7a67131a621f861b2633d6d3.zip | |
Add tracking issue to unstable attribute
Diffstat (limited to 'src/liballoc/sync.rs')
| -rw-r--r-- | src/liballoc/sync.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liballoc/sync.rs b/src/liballoc/sync.rs index 777851e1925..d08aaa38a4c 100644 --- a/src/liballoc/sync.rs +++ b/src/liballoc/sync.rs @@ -1122,7 +1122,7 @@ impl<T: ?Sized> Weak<T> { /// If `self` was created using [`Weak::new`], this will return 0. /// /// [`Weak::new`]: #method.new - #[unstable(feature = "weak_counts", issue = "0")] + #[unstable(feature = "weak_counts", issue = "57977")] pub fn strong_count(&self) -> usize { if let Some(inner) = self.inner() { inner.strong.load(SeqCst) @@ -1145,7 +1145,7 @@ impl<T: ?Sized> Weak<T> { /// `Weak`s pointing to the same value. /// /// [`Weak::new`]: #method.new - #[unstable(feature = "weak_counts", issue = "0")] + #[unstable(feature = "weak_counts", issue = "57977")] pub fn weak_count(&self) -> Option<usize> { // Due to the implicit weak pointer added when any strong pointers are // around, we cannot implement `weak_count` correctly since it |
