about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2017-03-14 21:01:18 -0700
committerAlex Crichton <alex@alexcrichton.com>2017-03-17 13:28:37 -0700
commit10510aefb10aaad9e9c382acf973a40938d091ad (patch)
tree3d3477ce12671233a5e63cda215b43946161d06b /src/liballoc
parent9511fe60ce8c7498958662c2bf2c34da0778120d (diff)
downloadrust-10510aefb10aaad9e9c382acf973a40938d091ad.tar.gz
rust-10510aefb10aaad9e9c382acf973a40938d091ad.zip
Stabilize ptr_eq feature, closes #36497
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/arc.rs6
-rw-r--r--src/liballoc/rc.rs6
2 files changed, 2 insertions, 10 deletions
diff --git a/src/liballoc/arc.rs b/src/liballoc/arc.rs
index 38d843263ff..b904d818feb 100644
--- a/src/liballoc/arc.rs
+++ b/src/liballoc/arc.rs
@@ -461,17 +461,13 @@ impl<T: ?Sized> Arc<T> {
     }
 
     #[inline]
-    #[unstable(feature = "ptr_eq",
-               reason = "newly added",
-               issue = "36497")]
+    #[stable(feature = "ptr_eq", since = "1.17.0")]
     /// Returns true if the two `Arc`s point to the same value (not
     /// just values that compare as equal).
     ///
     /// # Examples
     ///
     /// ```
-    /// #![feature(ptr_eq)]
-    ///
     /// use std::sync::Arc;
     ///
     /// let five = Arc::new(5);
diff --git a/src/liballoc/rc.rs b/src/liballoc/rc.rs
index eb449b26606..a5d1381260b 100644
--- a/src/liballoc/rc.rs
+++ b/src/liballoc/rc.rs
@@ -551,17 +551,13 @@ impl<T: ?Sized> Rc<T> {
     }
 
     #[inline]
-    #[unstable(feature = "ptr_eq",
-               reason = "newly added",
-               issue = "36497")]
+    #[stable(feature = "ptr_eq", since = "1.17.0")]
     /// Returns true if the two `Rc`s point to the same value (not
     /// just values that compare as equal).
     ///
     /// # Examples
     ///
     /// ```
-    /// #![feature(ptr_eq)]
-    ///
     /// use std::rc::Rc;
     ///
     /// let five = Rc::new(5);