mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-03-06 08:49:17 +02:00
parent
3ba21370bb
commit
77c55ef10e
@ -40,7 +40,7 @@ fn main() {
|
|||||||
|
|
||||||
```rust,ignore
|
```rust,ignore
|
||||||
let pc1 = page_counts
|
let pc1 = page_counts
|
||||||
.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".to_string())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user