about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTshepang Mbambo <tshepang@gmail.com>2023-07-12 20:10:52 +0200
committerGitHub <noreply@github.com>2023-07-12 20:10:52 +0200
commitdf3f45dbc5dc216de00b6cbee6267da3fca2a9a4 (patch)
tree36b7df9d78bce30342226bd92b950c9b942789e7
parent5710fca279d989676bae903299cce134552747f5 (diff)
downloadrust-df3f45dbc5dc216de00b6cbee6267da3fca2a9a4.tar.gz
rust-df3f45dbc5dc216de00b6cbee6267da3fca2a9a4.zip
avoid ambiguous word
See https://github.com/rust-lang/rust/pull/113618#pullrequestreview-1526295432
-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;