]>
git.proxmox.com Git - rustc.git/blob - src/doc/book/listings/ch08-common-collections/listing-08-23/src/main.rs
3 use std
::collections
::HashMap
;
5 let mut scores
= HashMap
::new();
7 scores
.insert(String
::from("Blue"), 10);
8 scores
.insert(String
::from("Blue"), 25);
10 println
!("{:?}", scores
);