File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
library/std/src/collections/hash Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -588,12 +588,10 @@ where
588588 /// Visits the values representing the intersection,
589589 /// i.e., the values that are both in `self` and `other`.
590590 ///
591- /// Note: this operation does not guarantee which collection
592- /// is visited from `self` or `other`. This has consequences
593- /// for values which may be defined as equal by the `Eq` trait
594- /// but which are not physically equivalent (eg. they may have
595- /// fields which differ or do not participate in the definition
596- /// of equivalence).
591+ /// Note: When an equal element is present in `self` and `other`
592+ /// 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.
597595 ///
598596 /// # Examples
599597 ///
You can’t perform that action at this time.
0 commit comments