From c17af5d7fdd54f727e8cc208a7643082c2f5fe93 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 b59caa9375e..086b073a9c4 100644 --- a/src/libcollections/treemap.rs +++ b/src/libcollections/treemap.rs @@ -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>>,