We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6709bee commit 37ae8b5Copy full SHA for 37ae8b5
src/std/hash/alt_key_types.md
@@ -3,7 +3,7 @@
3
Any type that implements the `Eq` and `Hash` traits can be a key in `HashMap`.
4
This includes:
5
6
-* `bool` (though not very useful since there is only two possible keys)
+* `bool` (though not very useful since there are only two possible keys)
7
* `int`, `uint`, and all variations thereof
8
* `String` and `&str` (protip: you can have a `HashMap` keyed by `String`
9
and call `.get()` with an `&str`)
0 commit comments