diff options
| author | Tibor Benke <ihrwein@gmail.com> | 2015-04-10 22:51:05 +0200 |
|---|---|---|
| committer | Tibor Benke <ihrwein@gmail.com> | 2015-04-10 22:51:05 +0200 |
| commit | 520ee34a66326638ddcb184ffd897ba492f99ba9 (patch) | |
| tree | a1df7b76ec4fbc7afe7db4cd905055ef8d974378 /src/libcollections | |
| parent | c897ac04e2ebda378fd9e38f6ec0878ae3a2baf7 (diff) | |
| download | rust-520ee34a66326638ddcb184ffd897ba492f99ba9.tar.gz rust-520ee34a66326638ddcb184ffd897ba492f99ba9.zip | |
Fix some typos
Signed-off-by: Tibor Benke <ihrwein@gmail.com>
Diffstat (limited to 'src/libcollections')
| -rw-r--r-- | src/libcollections/btree/map.rs | 2 | ||||
| -rw-r--r-- | src/libcollections/vec_map.rs | 2 |
2 files changed, 2 insertions, 2 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 |
