docs: fix some syntax errors4

pull/1528/head
Linc 2 weeks ago committed by GitHub
parent c8e56831bd
commit f101927a63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -3,4 +3,4 @@ Any type that implements the Eq and Hash traits can be a key in HashMap.
Note that f32 and f64 do not implement Hash, likely because floating-point precision errors would make using them as hashmap keys horribly error-prone. Note that f32 and f64 do not implement Hash, likely because floating-point precision errors would make using them as hashmap keys horribly error-prone.
All collection classes implement Eq and Hash if their contained type also respectively implements Eq and Hash. For example, Vec<T> will implement Hash if T implements Hash. All collection classes implement Eq and Hash if their contained type also respectively implements Eq and Hash. For example, `Vec<T>` will implement Hash if T implements Hash.

Loading…
Cancel
Save