From 708c612d4ed9c3fbcbb8162f8bce144e1e7947b2 Mon Sep 17 00:00:00 2001 From: Renato Riccieri Santos Zannon Date: Thu, 12 Jun 2014 03:36:46 -0300 Subject: [PATCH] Remove typo on collections::treemap::UnionItems The docstring stated it was a intersection iterator, when in fact it is the union iterator --- src/libcollections/treemap.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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>>,