Skip to content

Commit f4e6536

Browse files
nzrqdtolnay
andauthored
Apply suggestions from code review
Co-authored-by: David Tolnay <[email protected]>
1 parent 390641d commit f4e6536

File tree

1 file changed

+3
-2
lines changed
  • std/src/collections/hash

1 file changed

+3
-2
lines changed

std/src/collections/hash/set.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -590,8 +590,9 @@ where
590590
///
591591
/// When an equal element is present in `self` and `other`
592592
/// then the resulting `Intersection` may yield references to
593-
/// one or the other, which will be visible in properties of `T`
594-
/// not participating in the `Eq` implementation.
593+
/// one or the other. This can be relevant if `T` contains fields which
594+
/// are not compared by its `Eq` implementation, and may hold different
595+
/// value between the two equal copies of `T` in the two sets.
595596
///
596597
/// # Examples
597598
///

0 commit comments

Comments
 (0)