For Extend, document collections allowing duplicate keys
This commit is contained in:
parent
2467a41bce
commit
74b2587606
1 changed files with 3 additions and 1 deletions
|
|
@ -261,7 +261,9 @@ 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. When
|
||||
/// extending a collection with an already existing key, that entry is updated.
|
||||
/// extending a collection with an already existing key, that entry is updated
|
||||
/// or, in the case of collections that permit multiple entries with equal
|
||||
/// keys, that entry is inserted.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue