Clarify Extend behaviour wrt existing keys
This commit is contained in:
parent
9351c2c8e7
commit
2467a41bce
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue