about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorFrank Rehberger <frehberg@gmail.com>2016-09-26 18:15:27 +0200
committerGitHub <noreply@github.com>2016-09-26 18:15:27 +0200
commitba84d4ff817e724b3a910ec4187cb6418e037b5b (patch)
treec23e16c2a4968b91f336a12cc6a5dad8499b635b /src/libstd
parent35510080220fc4f586075dd483ae1bbb67503c44 (diff)
downloadrust-ba84d4ff817e724b3a910ec4187cb6418e037b5b.tar.gz
rust-ba84d4ff817e724b3a910ec4187cb6418e037b5b.zip
Update map.rs
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 776643b7866..b884b60365b 100644
--- a/src/libstd/collections/hash/map.rs
+++ b/src/libstd/collections/hash/map.rs
@@ -335,7 +335,7 @@ fn test_resize_policy() {
 ///     println!("{:?} has {} hp", viking, health);
 /// }
 /// ```
-/// A HashMap with fixed list of elements can be initialized from vector:
+/// A HashMap with fixed list of elements can be initialized from an array:
 /// ```
 /// use std::collections::HashMap;
 ///