We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
HashBag::difference()
1 parent 217ef6f commit 03221adCopy full SHA for 03221ad
src/lib.rs
@@ -702,9 +702,10 @@ where
702
}
703
704
705
- /// Returns an iterator that visits all values present in `self` that is not
706
- /// present in `other`. Takes the number of occurrences into account in both
707
- /// bags.
+ /// Returns an iterator over all the elements that are in `self` with a
+ /// higher occurrence count than in `other`. The count in the returned
+ /// iterator represents how many more of a given element are in `self` than
708
+ /// `other`.
709
///
710
/// # Examples
711
0 commit comments