We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e40d5e8 commit 2ea9e04Copy full SHA for 2ea9e04
library/std/src/collections/hash/set.rs
@@ -588,6 +588,13 @@ where
588
/// Visits the values representing the intersection,
589
/// i.e., the values that are both in `self` and `other`.
590
///
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).
597
+ ///
598
/// # Examples
599
600
/// ```
0 commit comments