about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-03-15 07:58:27 -0700
committerAlex Crichton <alex@alexcrichton.com>2017-03-17 13:28:53 -0700
commit1241a88fa9ddf5e645d1e6e93e04c435bbf15cd4 (patch)
tree987da130316d1be22082895a02b1adb6cb35e677 /src/libcore
parenta8f4a1bd984091ffb8f87f9440e2483f94b44a20 (diff)
Minor fixups to fix tidy errors
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/ptr.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libcore/ptr.rs b/src/libcore/ptr.rs
index 15174e72795..909e44df20a 100644
--- a/src/libcore/ptr.rs
+++ b/src/libcore/ptr.rs
@@ -658,7 +658,6 @@ impl<T: ?Sized> Eq for *mut T {}
 /// # Examples
 ///
 /// ```
-/// #![feature(ptr_eq)]
 /// use std::ptr;
 ///
 /// let five = 5;
@@ -673,7 +672,7 @@ impl<T: ?Sized> Eq for *mut T {}
 /// assert!(ptr::eq(five_ref, same_five_ref));
 /// assert!(!ptr::eq(five_ref, other_five_ref));
 /// ```
-#[unstable(feature = "ptr_eq", reason = "newly added", issue = "36497")]
+#[stable(feature = "ptr_eq", since = "1.17.0")]
 #[inline]
 pub fn eq<T: ?Sized>(a: *const T, b: *const T) -> bool {
     a == b