about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorMatthew Piziak <matthew.piziak@gmail.com>2016-08-16 04:11:48 -0400
committerMatthew Piziak <matthew.piziak@gmail.com>2016-08-17 20:37:31 -0400
commitdcee93a8030c3a62c5a05b45b050f90251d93af8 (patch)
treeb964e1bd288edb951899c01a8845a558cbeb0a90 /src/rustllvm/RustWrapper.cpp
parentf65d96fe3fa3cfae2cfc88be40f7416a22c88bf2 (diff)
downloadrust-dcee93a8030c3a62c5a05b45b050f90251d93af8.tar.gz
rust-dcee93a8030c3a62c5a05b45b050f90251d93af8.zip
replace Add example with something more evocative of addition
Currently most of the operator traits use trivial implementation
examples that only perform side effects. Honestly, that might not be too
bad for the sake of documentation; but anyway, here's a proposal to move
a slightly modified version of the module-level point-addition example
into the `Add` documentation, since it's more evocative of addition
semantics.

Part of #29365

wrap identifiers in backticks

minor rephrasing

fix module-level documentation to be more truthful

This branch changes the example for `Add` to no longer be a "minimum implementation that prints something to the screen".
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions