mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2025-04-16 16:39:02 +08:00
13 lines
251 B
Rust
13 lines
251 B
Rust
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
|
|
}
|