about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-01-01 22:49:48 +0100
committerGitHub <noreply@github.com>2022-01-01 22:49:48 +0100
commit5137f7c9db44f2f4b4bb0300506aeb0d7483e35f (patch)
treef551fc6011e8532e581799460e99344a72a227ce /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff
parent30ec1f0384338351902a22d9d0e7f867f142a1f6 (diff)
parentfb1e03168570852507dd4852af501fec571137e8 (diff)
downloadrust-5137f7c9db44f2f4b4bb0300506aeb0d7483e35f.tar.gz
rust-5137f7c9db44f2f4b4bb0300506aeb0d7483e35f.zip
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.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions