about summary refs log tree commit diff
path: root/src/libcore/hash
diff options
context:
space:
mode:
authorAndrew Paseltiner <apaseltiner@gmail.com>2015-03-12 18:09:52 -0400
committerAndrew Paseltiner <apaseltiner@gmail.com>2015-03-12 18:09:52 -0400
commitae21b4f58154abf3837744c91dbe23821ef52f05 (patch)
treefdf28de6dfe39ff257ff022b0f603a4e0485f449 /src/libcore/hash
parent538840bc2d1b634a2a34b2c8bd72d99894058b66 (diff)
downloadrust-ae21b4f58154abf3837744c91dbe23821ef52f05.tar.gz
rust-ae21b4f58154abf3837744c91dbe23821ef52f05.zip
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.
Diffstat (limited to 'src/libcore/hash')
-rw-r--r--src/libcore/hash/mod.rs4
1 files changed, 1 insertions, 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.