Skip to content

Commit 8d1dd7e

Browse files
authored
Rollup merge of #113618 - tshepang:patch-1, r=jyn514
update ancient note
2 parents 2cc0453 + df3f45d commit 8d1dd7e

File tree

1 file changed

+2
-2
lines changed
  • library/std/src/collections/hash

1 file changed

+2
-2
lines changed

library/std/src/collections/hash/set.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ use super::map::{map_try_reserve_error, RandomState};
6565
/// ```
6666
///
6767
/// The easiest way to use `HashSet` with a custom type is to derive
68-
/// [`Eq`] and [`Hash`]. We must also derive [`PartialEq`], this will in the
69-
/// future be implied by [`Eq`].
68+
/// [`Eq`] and [`Hash`]. We must also derive [`PartialEq`],
69+
/// which is required if [`Eq`] is derived.
7070
///
7171
/// ```
7272
/// use std::collections::HashSet;

0 commit comments

Comments
 (0)