File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1021,6 +1021,10 @@ pub trait Itertools : Iterator {
1021
1021
/// Clones of visited elements are stored in a hash set in the
1022
1022
/// iterator.
1023
1023
///
1024
+ /// The iterator is stable, returning the non-duplicate items in the order
1025
+ /// in which they occur in the adapted iterator. In a set of duplicate
1026
+ /// items, the first item encountered is the item retained.
1027
+ ///
1024
1028
/// ```
1025
1029
/// use itertools::Itertools;
1026
1030
///
@@ -1043,6 +1047,10 @@ pub trait Itertools : Iterator {
1043
1047
/// with the keying function `f` by hash and equality.
1044
1048
/// The keys are stored in a hash set in the iterator.
1045
1049
///
1050
+ /// The iterator is stable, returning the non-duplicate items in the order
1051
+ /// in which they occur in the adapted iterator. In a set of duplicate
1052
+ /// items, the first item encountered is the item retained.
1053
+ ///
1046
1054
/// ```
1047
1055
/// use itertools::Itertools;
1048
1056
///
You can’t perform that action at this time.
0 commit comments