You've already forked comprehensive-rust
mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-06-24 17:56:45 +02:00
@ -51,7 +51,7 @@ fn main() {
|
|||||||
.get("Harry Potter and the Sorcerer's Stone")
|
.get("Harry Potter and the Sorcerer's Stone")
|
||||||
.unwrap_or(&336);
|
.unwrap_or(&336);
|
||||||
let pc2 = page_counts
|
let pc2 = page_counts
|
||||||
.entry("The Hunger Games".to_string())
|
.entry("The Hunger Games")
|
||||||
.or_insert(374);
|
.or_insert(374);
|
||||||
```
|
```
|
||||||
- Unlike `vec!`, there is unfortunately no standard `hashmap!` macro.
|
- Unlike `vec!`, there is unfortunately no standard `hashmap!` macro.
|
||||||
|
Reference in New Issue
Block a user