summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBryant Mairs <bryant@mai.rs>2019-01-21 19:49:48 -0800
committerBryant Mairs <bryant@mai.rs>2019-02-02 16:32:00 -0800
commitcd1e16d1afb70ed510565c52d053b40a9f7c6975 (patch)
tree5be45908a71355a5c4f8f387af2cddb30c84676b /README.md
parent79ae1217c2a1a220b1c3f39283ba1ab812350cdc (diff)
downloadrust-libc-cd1e16d1afb70ed510565c52d053b40a9f7c6975.tar.gz
Implement Hash for all types
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index 4885cc9e3c..1caab85438 100644
--- a/README.md
+++ b/README.md
@@ -45,8 +45,9 @@ libc = { version = "0.2", features = ["align"] }
```
All structs implemented by the libc crate have the `Copy` and `Clone` traits
-implemented for them. The additional traits of `Debug, `Eq`, and `PartialEq`
-can be enabled with the *extra_traits* feature (requires Rust 1.25 or newer):
+implemented for them. The additional traits of `Debug, `Eq`, `Hash`, and
+`PartialEq` can be enabled with the *extra_traits* feature (requires Rust 1.25
+or newer):
```toml
[dependencies]