about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-04-14 22:05:41 -0400
committerGitHub <noreply@github.com>2017-04-14 22:05:41 -0400
commit3f79bdc0a9828a146e83dc6c2bfa5eacd4edc265 (patch)
treed37d1566b6ca20762fb566dbcb8d710845e8f3b2 /src/rustllvm/RustWrapper.cpp
parentf0ca5d4bad07a4fc8497bd9766cdadaee1bd0ac6 (diff)
parent12d7c3d9d8e6694b693e9ee30402063b6cef18ab (diff)
downloadrust-3f79bdc0a9828a146e83dc6c2bfa5eacd4edc265.tar.gz
rust-3f79bdc0a9828a146e83dc6c2bfa5eacd4edc265.zip
Rollup merge of #41125 - lukaramu:std-hash-docs, r=frewsxcv
Improve std::hash docs

Fixes #29357.

For details on what exactly I've done, see the commit descriptions.

There are some things I'm not sure about, but would like to address before merging this so the issue can be closed; any feedback on these points would really be appriciated:
* [x] ~I didn't touch the module level docs at all. On the one hand, I think they could use a short overview over the module; on the other hand, the module really isn't that big and I don't know if I could really do anything beyond just duplicating the type's summaries...~
* [x] ~I feel like the module-level examples are quite long-winded and not to the point, but I couldn't really think of anything better. Any ideas?~
* [x] ~Should `Hasher` get an example for implementing it? There is one in the module documentation, but it only "implements" it via `unimplemented!` and I'm not sure what the value of that is.~
* [x] ~Should `Hasher`'s `write_{int}` methods get examples?~

If there's anything else you'd like to see in std::hash's docs, please let me know!

r? @rust-lang/docs
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions