Merge pull request #8 from danthedeckie/patch-1

Example missed `mut` for the `map`.
This commit is contained in:
Mark Rousskov 2020-02-08 08:05:21 -05:00 committed by GitHub
commit 18411e8d6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,7 @@ works on up to 8 bytes at a time.
```rust
use rustc_hash::FxHashMap;
let map: FxHashMap<u32, u32> = FxHashMap::default();
let mut map: FxHashMap<u32, u32> = FxHashMap::default();
map.insert(22, 44);
```