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:
parent
49fe690477
commit
c17af5d7fd
|
@ -761,7 +761,7 @@ pub struct IntersectionItems<'a, T> {
|
||||||
b: Peekable<&'a T, SetItems<'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> {
|
pub struct UnionItems<'a, T> {
|
||||||
a: Peekable<&'a T, SetItems<'a, T>>,
|
a: Peekable<&'a T, SetItems<'a, T>>,
|
||||||
b: Peekable<&'a T, SetItems<'a, T>>,
|
b: Peekable<&'a T, SetItems<'a, T>>,
|
||||||
|
|
Loading…
Reference in New Issue