about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorTibor Benke <ihrwein@gmail.com>2015-04-10 22:51:05 +0200
committerTibor Benke <ihrwein@gmail.com>2015-04-10 22:51:05 +0200
commit520ee34a66326638ddcb184ffd897ba492f99ba9 (patch)
treea1df7b76ec4fbc7afe7db4cd905055ef8d974378 /src/libstd
parentc897ac04e2ebda378fd9e38f6ec0878ae3a2baf7 (diff)
downloadrust-520ee34a66326638ddcb184ffd897ba492f99ba9.tar.gz
rust-520ee34a66326638ddcb184ffd897ba492f99ba9.zip
Fix some typos
Signed-off-by: Tibor Benke <ihrwein@gmail.com>
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/collections/hash/map.rs2
1 files changed, 1 insertions, 1 deletions
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