Skip to content

Commit

Permalink
Clarify Extend behaviour wrt existing keys
Browse files Browse the repository at this point in the history
  • Loading branch information
shahn committed Dec 27, 2016
1 parent 9351c2c commit 2467a41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libcore/iter/traits.rs
Expand Up @@ -260,7 +260,8 @@ impl<I: Iterator> IntoIterator for I {
///
/// Iterators produce a series of values, and collections can also be thought
/// of as a series of values. The `Extend` trait bridges this gap, allowing you
/// to extend a collection by including the contents of that iterator.
/// to extend a collection by including the contents of that iterator. When
/// extending a collection with an already existing key, that entry is updated.
///
/// # Examples
///
Expand Down

0 comments on commit 2467a41

Please sign in to comment.