mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2025-02-24 13:22:19 +08:00
13 lines
253 B
Rust
Executable File
13 lines
253 B
Rust
Executable File
fn main() {
|
|
// ANCHOR: here
|
|
use std::collections::HashMap;
|
|
|
|
let mut scores = HashMap::new();
|
|
|
|
scores.insert(String::from("Blue"), 10);
|
|
scores.insert(String::from("Blue"), 25);
|
|
|
|
println!("{:?}", scores);
|
|
// ANCHOR_END: here
|
|
}
|