Skip to content

Commit

Permalink
Remove typo on collections::treemap::UnionItems
Browse files Browse the repository at this point in the history
The docstring stated it was a intersection iterator, when in fact it is the union iterator
  • Loading branch information
renato-zannon authored and alexcrichton committed Jun 13, 2014
1 parent 49fe690 commit c17af5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcollections/treemap.rs
Expand Up @@ -761,7 +761,7 @@ pub struct IntersectionItems<'a, T> {
b: Peekable<&'a T, SetItems<'a, T>>,
}

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

0 comments on commit c17af5d

Please sign in to comment.