Skip to content

Commit

Permalink
Fix Derive Notice for HashSet
Browse files Browse the repository at this point in the history
  • Loading branch information
killercup committed May 3, 2015
1 parent 5ad6edb commit 2ac380a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libstd/collections/hash/set.rs
Expand Up @@ -35,8 +35,8 @@ use super::state::HashState;
///
/// As with the `HashMap` type, a `HashSet` requires that the elements
/// implement the `Eq` and `Hash` traits. This can frequently be achieved by
/// using `#[derive(Eq, Hash)]`. If you implement these yourself, it is
/// important that the following property holds:
/// using `#[derive(PartialEq, Eq, Hash)]`. If you implement these yourself,
/// it is important that the following property holds:
///
/// ```text
/// k1 == k2 -> hash(k1) == hash(k2)
Expand Down

0 comments on commit 2ac380a

Please sign in to comment.