File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6370,7 +6370,7 @@ where
6370
6370
/// let some_iter = [(1, 1), (2, 2)].into_iter();
6371
6371
/// map.extend(some_iter);
6372
6372
/// // Replace values with existing keys with new values returned from the iterator.
6373
- /// // So that the map.get_key1 (&1) doesn't return Some(&100).
6373
+ /// // So that the map.get (&1) doesn't return Some(&100).
6374
6374
/// assert_eq!(map.get(&1), Some(&1));
6375
6375
///
6376
6376
/// let some_vec: Vec<_> = vec![(3, 3), (4, 4)];
@@ -6458,7 +6458,7 @@ where
6458
6458
/// let some_iter = arr.iter().map(|&(k, v)| (k, v));
6459
6459
/// map.extend(some_iter);
6460
6460
/// // Replace values with existing keys with new values returned from the iterator.
6461
- /// // So that the map.get_key1 (&1) doesn't return Some(&100).
6461
+ /// // So that the map.get (&1) doesn't return Some(&100).
6462
6462
/// assert_eq!(map.get(&1), Some(&1));
6463
6463
///
6464
6464
/// let some_vec: Vec<_> = vec![(3, 3), (4, 4)];
You can’t perform that action at this time.
0 commit comments