File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -988,7 +988,8 @@ pub trait Itertools : Iterator {
988
988
/// iterator.
989
989
///
990
990
/// The iterator is stable, returning the non-duplicate items in the order
991
- /// in which they occur in the adapted iterator.
991
+ /// in which they occur in the adapted iterator. In a set of duplicate
992
+ /// items, the first item encountered is the item retained.
992
993
///
993
994
/// ```
994
995
/// use itertools::Itertools;
@@ -1013,7 +1014,8 @@ pub trait Itertools : Iterator {
1013
1014
/// The keys are stored in a hash set in the iterator.
1014
1015
///
1015
1016
/// The iterator is stable, returning the non-duplicate items in the order
1016
- /// in which they occur in the adapted iterator.
1017
+ /// in which they occur in the adapted iterator. In a set of duplicate
1018
+ /// items, the first item encountered is the item retained.
1017
1019
///
1018
1020
/// ```
1019
1021
/// use itertools::Itertools;
You can’t perform that action at this time.
0 commit comments