We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c5045e2 + a240c59 commit e9b9f33Copy full SHA for e9b9f33
src/libcore/ptr.rs
@@ -2561,7 +2561,6 @@ pub fn eq<T: ?Sized>(a: *const T, b: *const T) -> bool {
2561
/// # Examples
2562
///
2563
/// ```
2564
-/// #![feature(ptr_hash)]
2565
/// use std::collections::hash_map::DefaultHasher;
2566
/// use std::hash::{Hash, Hasher};
2567
/// use std::ptr;
@@ -2579,7 +2578,7 @@ pub fn eq<T: ?Sized>(a: *const T, b: *const T) -> bool {
2579
2578
2580
/// assert_eq!(actual, expected);
2581
2582
-#[unstable(feature = "ptr_hash", reason = "newly added", issue = "56286")]
+#[stable(feature = "ptr_hash", since = "1.35.0")]
2583
pub fn hash<T: ?Sized, S: hash::Hasher>(hashee: *const T, into: &mut S) {
2584
use hash::Hash;
2585
hashee.hash(into);
0 commit comments