about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--library/std/src/collections/hash/set.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/collections/hash/set.rs b/library/std/src/collections/hash/set.rs
index 04d77424ac7..959403e1644 100644
--- a/library/std/src/collections/hash/set.rs
+++ b/library/std/src/collections/hash/set.rs
@@ -66,7 +66,7 @@ use super::map::{map_try_reserve_error, RandomState};
 ///
 /// The easiest way to use `HashSet` with a custom type is to derive
 /// [`Eq`] and [`Hash`]. We must also derive [`PartialEq`],
-/// which is implied by [`Eq`].
+/// which is required if [`Eq`] is derived.
 ///
 /// ```
 /// use std::collections::HashSet;