FIXME is the new TODO
This commit is contained in:
parent
47b5e23e6b
commit
86d20f9342
1 changed files with 1 additions and 1 deletions
|
@ -2526,7 +2526,7 @@ pub fn eq<T: ?Sized>(a: *const T, b: *const T) -> bool {
|
||||||
/// ptr::hash(five_ref, hasher);
|
/// ptr::hash(five_ref, hasher);
|
||||||
/// println!("Hash is {:x}!", hasher.finish());
|
/// println!("Hash is {:x}!", hasher.finish());
|
||||||
/// ```
|
/// ```
|
||||||
#[stable(feature = "rust1", since = "1.0.0")] // TODO: replace with ???
|
#[stable(feature = "rust1", since = "1.0.0")] // FIXME: replace with ???
|
||||||
pub fn hash<T, S: hash::Hasher>(a: &T, into: &mut S) {
|
pub fn hash<T, S: hash::Hasher>(a: &T, into: &mut S) {
|
||||||
use hash::Hash;
|
use hash::Hash;
|
||||||
NonNull::from(a).hash(into)
|
NonNull::from(a).hash(into)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue