about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/tests.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-08-20 00:28:31 +0200
committerGitHub <noreply@github.com>2023-08-20 00:28:31 +0200
commit0cc4b55a128fcb1666e2765dd7952757adfea8b1 (patch)
treea1e035ef643b9d1f458d155d408f5b52d3f6c75f /compiler/rustc_mir_transform/src/coverage/tests.rs
parent6ef7d16be0fb9d6ecf300c27990f4bff49d22d46 (diff)
parent98e434a01eafce54fc862fa36f44e0392a6fb9f7 (diff)
downloadrust-0cc4b55a128fcb1666e2765dd7952757adfea8b1.tar.gz
rust-0cc4b55a128fcb1666e2765dd7952757adfea8b1.zip
Rollup merge of #114605 - Easyoakland:hash-collection-doc, r=thomcc
Increase clarity about Hash - Eq consistency in HashMap and HashSet docs

As discussed [here](https://users.rust-lang.org/t/what-hapens-if-hash-and-partialeq-dont-match-when-using-hashmap/98052/13) the description of logic errors in `HashMap` and `HashSet` does not explicitly apply to
```text
k1 == k2 -> hash(k1) == hash(k2)
```
but this is likely what is intended.

This PR is a small doc change to correct this.

r? rust-lang/libs
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/tests.rs')
0 files changed, 0 insertions, 0 deletions