Skip to content

Commit 6d2a806

Browse files
committed
DOC: Fix typos in Extend doc
1 parent 45dad09 commit 6d2a806

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2037,7 +2037,7 @@ impl<K, V, S> Extend<(K, V)> for IndexMap<K, V, S>
20372037
/// them in order, which means that for keys that already existed
20382038
/// in the map, their value is updated but it keeps the existing order.
20392039
///
2040-
/// New keys are inserted inserted in the order in the sequence. If
2040+
/// New keys are inserted in the order they appear in the sequence. If
20412041
/// equivalents of a key occur more than once, the last corresponding value
20422042
/// prevails.
20432043
fn extend<I: IntoIterator<Item=(K, V)>>(&mut self, iterable: I) {

0 commit comments

Comments
 (0)