about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorlukaramu <lukaramu@gmail.com>2017-04-06 23:39:32 +0200
committerlukaramu <lukaramu@gmail.com>2017-04-06 23:39:32 +0200
commit37275b6fc3635291d19331974e361c1ccd02a467 (patch)
tree040c52ddae40179c18b8fa2bee3ff8c960666577 /src/rustllvm/RustWrapper.cpp
parente88a511fd50276b2d88edf9a7a7bbf6a89ca9f68 (diff)
downloadrust-37275b6fc3635291d19331974e361c1ccd02a467.tar.gz
rust-37275b6fc3635291d19331974e361c1ccd02a467.zip
improved std::hash::Hash docs
Part of #29357.
* merged "Derivable" and "How can I implement `Hash`?" sections into one
  "Implementing `Hash`" section to aid coherency
* added an example for `#[derive(Hash)]`
* moved part about relation between `Hash` and `Eq` into a new "`Hash` and
  `Eq`" section; changed wording to be more consistent with `HashMap` and
  `HashSet`'s
* explicitly mentioned `#[derive(PartialEq, Eq, Hash)]` in the new section
* changed method summaries for consistency, adding links and examples
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions