about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorlukaramu <lukaramu@users.noreply.github.com>2017-08-07 17:09:43 +0200
committerlukaramu <lukaramu@users.noreply.github.com>2017-08-07 23:10:16 +0200
commit5990be523d00edaf69cfd6d3e28d9fb78eb67bcd (patch)
treee789e035dc85f97957ab7c959ba4f5825a84a8fd /src/rustllvm/RustWrapper.cpp
parentf2ff646f5f71fd89b19ec11d7bb03128156f1af9 (diff)
downloadrust-5990be523d00edaf69cfd6d3e28d9fb78eb67bcd.tar.gz
rust-5990be523d00edaf69cfd6d3e28d9fb78eb67bcd.zip
Expand docs on `Deref` and `DerefMut`
Part of #29365.
* Expanded the explanaition sections, adapting some parts from the book,
  the reference, as well as the API guidelines. As such, the docs now
  explicitly state that `Deref` and `DerefMut` should only be implemented
  for smart pointers and that they should not fail. Additionally, there
  is now a short primer on `Deref` coercion.
* Added links to `DerefMut` from `Deref` and vice versa
* Added links to relevant reference sections
* Removed "stuttering" in summary sentences
* Changed summary sentences of `Deref::deref` and `Deref::deref_mut` to
  be in 3rd person singular
* Removed explicit uses of `fn main()` in the examples
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions