Skip to content

Commit c30f3a6

Browse files
committed
---
yaml --- r: 207987 b: refs/heads/snap-stage3 c: 6814c2f h: refs/heads/master i: 207985: dd0eb68 207983: e86253f v: v3
1 parent fcc5ada commit c30f3a6

File tree

2 files changed

+7
-5
lines changed
  • branches/snap-stage3/src/libstd/collections/hash

2 files changed

+7
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 38a97becdf3e6a6157f6f7ec2d98ade8d8edc193
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 35149bf1cec8707c186e324bf858f7bb9f2692e8
4+
refs/heads/snap-stage3: 6814c2f1aa0b214a9d2767283c57446d0b66fa6f
55
refs/heads/try: 7b4ef47b7805a402d756fb8157101f64880a522f
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/src/libstd/collections/hash/set.rs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,12 @@ use super::state::HashState;
3131
// to get rid of it properly.
3232

3333
/// 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:
3840
///
3941
/// ```text
4042
/// k1 == k2 -> hash(k1) == hash(k2)

0 commit comments

Comments
 (0)