From 6d9498f98c9abb5eeeb6a29949286165e870d26b Mon Sep 17 00:00:00 2001 From: nzrq <42440961+nzrq@users.noreply.github.com> Date: Mon, 6 Jun 2022 17:14:58 -0400 Subject: [PATCH] Apply suggestions from code review Co-authored-by: David Tolnay --- std/src/collections/hash/set.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/std/src/collections/hash/set.rs b/std/src/collections/hash/set.rs index 0a0c08eb1..fa498a987 100644 --- a/std/src/collections/hash/set.rs +++ b/std/src/collections/hash/set.rs @@ -590,8 +590,9 @@ where /// /// When an equal element is present in `self` and `other` /// then the resulting `Intersection` may yield references to - /// one or the other, which will be visible in properties of `T` - /// not participating in the `Eq` implementation. + /// one or the other. This can be relevant if `T` contains fields which + /// are not compared by its `Eq` implementation, and may hold different + /// value between the two equal copies of `T` in the two sets. /// /// # Examples ///