Skip to content

Commit aa5eb33

Browse files
committed
Rollup merge of #24304 - ihrwein:fix-some-typos, r=alexcrichton
Signed-off-by: Tibor Benke <[email protected]>
2 parents b140ad1 + 520ee34 commit aa5eb33

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/libcollections/btree/map.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ impl<K: Ord, V> BTreeMap<K, V> {
313313
// 2) While ODS may potentially return the pair we *just* inserted after
314314
// the split, we will never do this. Again, this shouldn't effect the analysis.
315315

316-
/// Inserts a key-value pair from the map. If the key already had a value
316+
/// Inserts a key-value pair into the map. If the key already had a value
317317
/// present in the map, that value is returned. Otherwise, `None` is returned.
318318
///
319319
/// # Examples

src/libcollections/vec_map.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -576,7 +576,7 @@ impl<V> VecMap<V> {
576576
}
577577
}
578578

579-
/// Inserts a key-value pair from the map. If the key already had a value
579+
/// Inserts a key-value pair into the map. If the key already had a value
580580
/// present in the map, that value is returned. Otherwise, `None` is returned.
581581
///
582582
/// # Examples

src/libstd/collections/hash/map.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,7 @@ impl<K, V, S> HashMap<K, V, S>
11071107
self.search_mut(k).map(|bucket| bucket.into_mut_refs().1)
11081108
}
11091109

1110-
/// Inserts a key-value pair from the map. If the key already had a value
1110+
/// Inserts a key-value pair into the map. If the key already had a value
11111111
/// present in the map, that value is returned. Otherwise, `None` is returned.
11121112
///
11131113
/// # Examples

0 commit comments

Comments
 (0)