diff --git a/library/std/src/collections/hash/set.rs b/library/std/src/collections/hash/set.rs index 04d77424ac7b1..959403e164476 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;