提交 c17af5d7 编写于 作者: R Renato Riccieri Santos Zannon 提交者: Alex Crichton

Remove typo on collections::treemap::UnionItems

The docstring stated it was a intersection iterator, when in fact it is the union iterator
上级 49fe6904
......@@ -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>>,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册