about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRenato Riccieri Santos Zannon <renato@rrsz.com.br>2014-06-12 03:36:46 -0300
committerAlex Crichton <alex@alexcrichton.com>2014-06-13 13:53:34 -0700
commitc17af5d7fdd54f727e8cc208a7643082c2f5fe93 (patch)
tree7959b4b2d453a31ff9978366a372ef5be4c06c13
parent49fe69047776651114e014a8307c684fcb866efd (diff)
downloadrust-c17af5d7fdd54f727e8cc208a7643082c2f5fe93.tar.gz
rust-c17af5d7fdd54f727e8cc208a7643082c2f5fe93.zip
Remove typo on collections::treemap::UnionItems
The docstring stated it was a intersection iterator, when in fact it is the union iterator
-rw-r--r--src/libcollections/treemap.rs2
1 files changed, 1 insertions, 1 deletions
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>>,