rust/library/std/src/collections
Matthias Krüger 5137f7c9db
Rollup merge of #91593 - upsuper-forks:hashmap-set-methods-bound, r=dtolnay
Remove unnecessary bounds for some Hash{Map,Set} methods

This PR moves `HashMap::{into_keys,into_values,retain}` and `HashSet::retain` from `impl` blocks with `K: Eq + Hash, S: BuildHasher` into the blocks without them. It doesn't seem to me there is any reason these methods need to be bounded by that. This change brings `HashMap::{into_keys,into_values}` on par with `HashMap::{keys,values,values_mut}` which are not bounded either.
2022-01-01 22:49:48 +01:00
..
hash Rollup merge of #91593 - upsuper-forks:hashmap-set-methods-bound, r=dtolnay 2022-01-01 22:49:48 +01:00
mod.rs Fix collection entry API documentation. 2021-11-10 12:37:18 +02:00