Skip to content

Commit c17af5d

Browse files
renato-zannonalexcrichton
authored andcommitted
Remove typo on collections::treemap::UnionItems
The docstring stated it was a intersection iterator, when in fact it is the union iterator
1 parent 49fe690 commit c17af5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcollections/treemap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ pub struct IntersectionItems<'a, T> {
761761
b: Peekable<&'a T, SetItems<'a, T>>,
762762
}
763763

764-
/// Lazy iterator producing elements in the set intersection (in-order)
764+
/// Lazy iterator producing elements in the set union (in-order)
765765
pub struct UnionItems<'a, T> {
766766
a: Peekable<&'a T, SetItems<'a, T>>,
767767
b: Peekable<&'a T, SetItems<'a, T>>,

0 commit comments

Comments
 (0)