Rollup merge of #23321 - apasel422:hash, r=alexcrichton

It is no longer possible to specialize on the `Hasher` because it moved to a method-level type parameter.
This commit is contained in:
Manish Goregaokar 2015-03-13 18:11:46 +05:30
commit 63cd9f9d89

View File

@ -70,9 +70,7 @@
/// 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.