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:
Andrew Paseltiner 2015-03-12 18:09:52 -04:00
parent 538840bc2d
commit ae21b4f581
1 changed files with 1 additions and 3 deletions

View File

@ -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.