diff options
author | Bryant Mairs <bryant@mai.rs> | 2019-01-21 19:49:48 -0800 |
---|---|---|
committer | Bryant Mairs <bryant@mai.rs> | 2019-02-02 16:32:00 -0800 |
commit | cd1e16d1afb70ed510565c52d053b40a9f7c6975 (patch) | |
tree | 5be45908a71355a5c4f8f387af2cddb30c84676b /README.md | |
parent | 79ae1217c2a1a220b1c3f39283ba1ab812350cdc (diff) | |
download | rust-libc-cd1e16d1afb70ed510565c52d053b40a9f7c6975.tar.gz |
Implement Hash for all types
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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] |