1
Fork 0

FIXME is the new TODO

This commit is contained in:
Dale Wijnand 2018-11-26 19:23:20 +00:00 committed by GitHub
parent 47b5e23e6b
commit 86d20f9342
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2526,7 +2526,7 @@ pub fn eq<T: ?Sized>(a: *const T, b: *const T) -> bool {
/// ptr::hash(five_ref, hasher);
/// 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) {
use hash::Hash;
NonNull::from(a).hash(into)