File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
branches/snap-stage3/src/libstd/collections/hash Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 38a97becdf3e6a6157f6f7ec2d98ade8d8edc193
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: 35149bf1cec8707c186e324bf858f7bb9f2692e8
4
+ refs/heads/snap-stage3: 6814c2f1aa0b214a9d2767283c57446d0b66fa6f
5
5
refs/heads/try: 7b4ef47b7805a402d756fb8157101f64880a522f
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
Original file line number Diff line number Diff line change @@ -31,10 +31,12 @@ use super::state::HashState;
31
31
// to get rid of it properly.
32
32
33
33
/// An implementation of a hash set using the underlying representation of a
34
- /// HashMap where the value is (). As with the `HashMap` type, a `HashSet`
35
- /// requires that the elements implement the `Eq` and `Hash` traits. This can
36
- /// frequently be achieved by using `#[derive(Eq, Hash)]`. If you implement
37
- /// these yourself, it is important that the following property holds:
34
+ /// HashMap where the value is ().
35
+ ///
36
+ /// As with the `HashMap` type, a `HashSet` requires that the elements
37
+ /// implement the `Eq` and `Hash` traits. This can frequently be achieved by
38
+ /// using `#[derive(Eq, Hash)]`. If you implement these yourself, it is
39
+ /// important that the following property holds:
38
40
///
39
41
/// ```text
40
42
/// k1 == k2 -> hash(k1) == hash(k2)
You can’t perform that action at this time.
0 commit comments