Rollup merge of #24304 - ihrwein:fix-some-typos, r=alexcrichton

Signed-off-by: Tibor Benke <ihrwein@gmail.com>
This commit is contained in:
Manish Goregaokar 2015-04-11 19:05:52 +05:30
commit aa5eb33b9f
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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