This commit is contained in:
Dale Wijnand 2018-12-07 17:34:53 +01:00
parent 1ac066ef04
commit ba3db7b03a
No known key found for this signature in database
GPG key ID: 4F256E3D151DF5EF

View file

@ -2518,7 +2518,7 @@ pub fn eq<T: ?Sized>(a: *const T, b: *const T) -> bool {
/// Hash a raw pointer.
///
/// This can be used to hash a `&T` reference (which coerce to `*const T` implicitly)
/// This can be used to hash a `&T` reference (which coerces to `*const T` implicitly)
/// by its address rather than the value it points to
/// (which is what the `Hash for &T` implementation does).
///