diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-04-11 19:05:52 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-04-11 19:05:52 +0530 |
| commit | aa5eb33b9f330b6beec828838a2e755fbe303869 (patch) | |
| tree | ed6c6daec6ec4f3d97ec81e895c7f8d78fbe9c29 | |
| parent | b140ad11947f7f27d105a14ddbd21d8299351b5e (diff) | |
| parent | 520ee34a66326638ddcb184ffd897ba492f99ba9 (diff) | |
| download | rust-aa5eb33b9f330b6beec828838a2e755fbe303869.tar.gz rust-aa5eb33b9f330b6beec828838a2e755fbe303869.zip | |
Rollup merge of #24304 - ihrwein:fix-some-typos, r=alexcrichton
Signed-off-by: Tibor Benke <ihrwein@gmail.com>
| -rw-r--r-- | src/libcollections/btree/map.rs | 2 | ||||
| -rw-r--r-- | src/libcollections/vec_map.rs | 2 | ||||
| -rw-r--r-- | src/libstd/collections/hash/map.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/libcollections/btree/map.rs b/src/libcollections/btree/map.rs index adfb284dabe..e704a956492 100644 --- a/src/libcollections/btree/map.rs +++ b/src/libcollections/btree/map.rs @@ -313,7 +313,7 @@ impl<K: Ord, V> BTreeMap<K, V> { // 2) While ODS may potentially return the pair we *just* inserted after // the split, we will never do this. Again, this shouldn't effect the analysis. - /// Inserts a key-value pair from the map. If the key already had a value + /// Inserts a key-value pair into the map. If the key already had a value /// present in the map, that value is returned. Otherwise, `None` is returned. /// /// # Examples diff --git a/src/libcollections/vec_map.rs b/src/libcollections/vec_map.rs index 8900c795045..3d9d8cf51ec 100644 --- a/src/libcollections/vec_map.rs +++ b/src/libcollections/vec_map.rs @@ -576,7 +576,7 @@ impl<V> VecMap<V> { } } - /// Inserts a key-value pair from the map. If the key already had a value + /// Inserts a key-value pair into the map. If the key already had a value /// present in the map, that value is returned. Otherwise, `None` is returned. /// /// # Examples diff --git a/src/libstd/collections/hash/map.rs b/src/libstd/collections/hash/map.rs index a636c1a812d..54a3a055768 100644 --- a/src/libstd/collections/hash/map.rs +++ b/src/libstd/collections/hash/map.rs @@ -1107,7 +1107,7 @@ impl<K, V, S> HashMap<K, V, S> self.search_mut(k).map(|bucket| bucket.into_mut_refs().1) } - /// Inserts a key-value pair from the map. If the key already had a value + /// Inserts a key-value pair into the map. If the key already had a value /// present in the map, that value is returned. Otherwise, `None` is returned. /// /// # Examples |
