We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5558c07 commit 7b429b0Copy full SHA for 7b429b0
src/libcore/ptr.rs
@@ -2526,7 +2526,7 @@ pub fn eq<T: ?Sized>(a: *const T, b: *const T) -> bool {
2526
/// ptr::hash(five_ref, &mut hasher);
2527
/// println!("Hash is {:x}!", hasher.finish());
2528
/// ```
2529
-#[stable(feature = "rust1", since = "1.0.0")] // FIXME: replace with ???
+#[unstable(feature = "ptr_hash", reason = "newly added", issue = "56285")]
2530
pub fn hash<T, S: hash::Hasher>(a: &T, into: &mut S) {
2531
use hash::Hash;
2532
NonNull::from(a).hash(into)
0 commit comments