diff --git a/src/libcollections/treemap.rs b/src/libcollections/treemap.rs index 1f4ee52008cdc..f7d5893b22dd9 100644 --- a/src/libcollections/treemap.rs +++ b/src/libcollections/treemap.rs @@ -737,7 +737,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>>,