From ae21b4f58154abf3837744c91dbe23821ef52f05 Mon Sep 17 00:00:00 2001 From: Andrew Paseltiner Date: Thu, 12 Mar 2015 18:09:52 -0400 Subject: [PATCH] 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. --- src/libcore/hash/mod.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/libcore/hash/mod.rs b/src/libcore/hash/mod.rs index 4b545435ea1..fdc0020dfcd 100644 --- a/src/libcore/hash/mod.rs +++ b/src/libcore/hash/mod.rs @@ -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.