Skip to content

Commit ba84d4f

Browse files
authored
Update map.rs
1 parent 3551008 commit ba84d4f

File tree

1 file changed

+1
-1
lines changed
  • src/libstd/collections/hash

1 file changed

+1
-1
lines changed

src/libstd/collections/hash/map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ fn test_resize_policy() {
335335
/// println!("{:?} has {} hp", viking, health);
336336
/// }
337337
/// ```
338-
/// A HashMap with fixed list of elements can be initialized from vector:
338+
/// A HashMap with fixed list of elements can be initialized from an array:
339339
/// ```
340340
/// use std::collections::HashMap;
341341
///

0 commit comments

Comments
 (0)