Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ch08-03-hash-maps.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ whitespace, of the value in `text`. The `or_insert` method returns a mutable
reference (`&mut V`) to the value for the specified key. Here, we store that
mutable reference in the `count` variable, so in order to assign to that value,
we must first dereference `count` using the asterisk (`*`). The mutable
reference goes out of scope at the end of the `for` loop, so all of these
reference goes out of scope after each iteration of the `for` loop, so all of these
changes are safe and allowed by the borrowing rules.

### Hashing Functions
Expand Down