From 0d314f08af086afd7a67131a621f861b2633d6d3 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Tue, 29 Jan 2019 22:34:35 +0100 Subject: [PATCH] Add tracking issue to unstable attribute --- src/liballoc/rc.rs | 4 ++-- src/liballoc/sync.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs index 72b43b5d6ad..235a89c9e9d 100644 --- a/src/liballoc/rc.rs +++ b/src/liballoc/rc.rs @@ -1289,7 +1289,7 @@ pub fn upgrade(&self) -> Option> { /// 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() @@ -1305,7 +1305,7 @@ pub fn strong_count(&self) -> usize { /// value. /// /// [`Weak::new`]: #method.new - #[unstable(feature = "weak_counts", issue = "0")] + #[unstable(feature = "weak_counts", issue = "57977")] pub fn weak_count(&self) -> Option { self.inner().map(|inner| { if inner.strong() > 0 { 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 @@ pub fn upgrade(&self) -> Option> { /// 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 @@ pub fn strong_count(&self) -> usize { /// `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 { // Due to the implicit weak pointer added when any strong pointers are // around, we cannot implement `weak_count` correctly since it -- 2.44.0