remove mention of specialization from `Hash` trait
It is no longer possible to specialize on the `Hasher` because it moved to a method-level type parameter.
This commit is contained in:
parent
538840bc2d
commit
ae21b4f581
|
@ -70,9 +70,7 @@ mod sip;
|
|||
/// A hashable type.
|
||||
///
|
||||
/// The `H` type parameter is an abstract hash state that is used by the `Hash`
|
||||
/// to compute the hash. Specific implementations of this trait may specialize
|
||||
/// for particular instances of `H` in order to be able to optimize the hashing
|
||||
/// behavior.
|
||||
/// to compute the hash.
|
||||
#[stable(feature = "rust1", since = "1.0.0")]
|
||||
pub trait Hash {
|
||||
/// Feeds this value into the state given, updating the hasher as necessary.
|
||||
|
|
Loading…
Reference in New Issue