rust/src/libstd/collections
Dylan DPC 2a201336ed
Rollup merge of #67642 - Mark-Simulacrum:relax-bounds, r=Amanieu
Relax bounds on HashMap/HashSet

These APIs changed from the old bound listed to the new bound (possibly empty):

K: Hash + Eq -> K
* new
* with_capacity

K: Eq + Hash, S: BuildHasher -> K, S
* with_hasher
* with_capacity_and_hasher
* hasher

K: Eq + Hash + Debug -> K: Debug
S: BuildHasher -> S
HashMap as Debug

K: Eq + Hash -> K
S: BuildHasher + Default -> S: Default
HashMap as Default

Resolves #44777.
2020-02-13 02:52:46 +01:00
..
hash Rollup merge of #67642 - Mark-Simulacrum:relax-bounds, r=Amanieu 2020-02-13 02:52:46 +01:00
mod.rs Update HashMap documentation hint of the used 'quadratic probing' and 'SIMD lookup' algorithms 2019-12-09 20:13:42 +01:00