about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/arc.rs2
-rw-r--r--src/liballoc/rc.rs3
2 files changed, 0 insertions, 5 deletions
diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs
index 95de2b6abae..aa71b7b132a 100644
--- a/src/liballoc/arc.rs
+++ b/src/liballoc/arc.rs
@@ -270,7 +270,6 @@ impl<T: ?Sized> Arc<T> {
     /// Get the number of weak references to this value.
     #[inline]
     #[unstable(feature = "arc_counts", reason = "not clearly useful, and racy", issue = "27718")]
-    #[deprecated(since = "1.4.0", reason = "not clearly useful, and racy")]
     pub fn weak_count(this: &Self) -> usize {
         this.inner().weak.load(SeqCst) - 1
     }
@@ -278,7 +277,6 @@ impl<T: ?Sized> Arc<T> {
     /// Get the number of strong references to this value.
     #[inline]
     #[unstable(feature = "arc_counts", reason = "not clearly useful, and racy", issue = "27718")]
-    #[deprecated(since = "1.4.0", reason = "not clearly useful, and racy")]
     pub fn strong_count(this: &Self) -> usize {
         this.inner().strong.load(SeqCst)
     }
diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs
index e0ff3a1bca0..9649d0f71a1 100644
--- a/src/liballoc/rc.rs
+++ b/src/liballoc/rc.rs
@@ -292,13 +292,11 @@ impl<T: ?Sized> Rc<T> {
     /// Get the number of weak references to this value.
     #[inline]
     #[unstable(feature = "rc_counts", reason = "not clearly useful", issue = "27718")]
-    #[deprecated(since = "1.4.0", reason = "not clearly useful")]
     pub fn weak_count(this: &Self) -> usize { this.weak() - 1 }
 
     /// Get the number of strong references to this value.
     #[inline]
     #[unstable(feature = "rc_counts", reason = "not clearly useful", issue = "27718")]
-    #[deprecated(since = "1.4.0", reason = "not clearly useful")]
     pub fn strong_count(this: &Self) -> usize { this.strong() }
 
     /// Returns true if there are no other `Rc` or `Weak<T>` values that share
@@ -317,7 +315,6 @@ impl<T: ?Sized> Rc<T> {
     /// ```
     #[inline]
     #[unstable(feature = "rc_counts", reason = "uniqueness has unclear meaning", issue = "27718")]
-    #[deprecated(since = "1.4.0", reason = "uniqueness has unclear meaning")]
     pub fn is_unique(this: &Self) -> bool {
         Rc::weak_count(this) == 0 && Rc::strong_count(this) == 1
     }