diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-13 18:11:46 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-13 18:11:46 +0530 |
| commit | 63cd9f9d8948ad9fe138c327f2298739a240daba (patch) | |
| tree | bbed5efcc2e2fa576ed26d90a835210a4cc5b1c7 /src/libcore | |
| parent | 63bdfbf90aa44f7a9f63f74e96ce8dbcc6fb80a2 (diff) | |
| parent | ae21b4f58154abf3837744c91dbe23821ef52f05 (diff) | |
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.
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/hash/mod.rs | 4 |
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. |
