mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-03-05 16:36:19 +02:00
parent
3ba21370bb
commit
77c55ef10e
@ -40,7 +40,7 @@ fn main() {
|
||||
|
||||
```rust,ignore
|
||||
let pc1 = page_counts
|
||||
.get("Harry Potter and the Sorcerer's Stone ")
|
||||
.get("Harry Potter and the Sorcerer's Stone")
|
||||
.unwrap_or(&336);
|
||||
let pc2 = page_counts
|
||||
.entry("The Hunger Games".to_string())
|
||||
|
Loading…
x
Reference in New Issue
Block a user