about summary refs log tree commit diff
path: root/src/liballoc/arc.rs
diff options
context:
space:
mode:
authorAlexis Beingessner <a.beingessner@gmail.com>2015-08-19 13:04:13 -0700
committerAlexis Beingessner <a.beingessner@gmail.com>2015-08-19 15:52:12 -0700
commit4c8d75fd9b4e0abf1107647a48e3578907e2e00e (patch)
tree99bdf04169c57fe4c74c45a02e26b32fe1db1296 /src/liballoc/arc.rs
parent5bbaa3c9ac64cbd324240d6aa079c5d4b0e7f82e (diff)
downloadrust-4c8d75fd9b4e0abf1107647a48e3578907e2e00e.tar.gz
rust-4c8d75fd9b4e0abf1107647a48e3578907e2e00e.zip
don't do deprecations yet
Diffstat (limited to 'src/liballoc/arc.rs')
-rw-r--r--src/liballoc/arc.rs2
1 files changed, 0 insertions, 2 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)
     }