We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2cc0453 + df3f45d commit 8d1dd7eCopy full SHA for 8d1dd7e
library/std/src/collections/hash/set.rs
@@ -65,8 +65,8 @@ use super::map::{map_try_reserve_error, RandomState};
65
/// ```
66
///
67
/// 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`].
+/// [`Eq`] and [`Hash`]. We must also derive [`PartialEq`],
+/// which is required if [`Eq`] is derived.
70
71
72
/// use std::collections::HashSet;
0 commit comments