Remove typo on collections::treemap::UnionItems

The docstring stated it was a intersection iterator, when in fact it is the union iterator
This commit is contained in:
Renato Riccieri Santos Zannon 2014-06-12 03:36:46 -03:00 committed by Alex Crichton
parent 49fe690477
commit c17af5d7fd
1 changed files with 1 additions and 1 deletions

View File

@ -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>>,