about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorJonathan Turner <jonathandturner@users.noreply.github.com>2016-08-20 07:09:34 -0700
committerGitHub <noreply@github.com>2016-08-20 07:09:34 -0700
commited9a18a7c722106b9f4e7677523152ab65e1287c (patch)
treefe993a4f39d11eafdcaf5f617cd718ba10798d6f /src/rustllvm/RustWrapper.cpp
parent2d32a69700478c73d3f58705ab587575aafd9517 (diff)
parentdcee93a8030c3a62c5a05b45b050f90251d93af8 (diff)
downloadrust-ed9a18a7c722106b9f4e7677523152ab65e1287c.tar.gz
rust-ed9a18a7c722106b9f4e7677523152ab65e1287c.zip
Rollup merge of #35709 - matthew-piziak:add-trait-example, r=GuillaumeGomez
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
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions