diff options
| author | Jonathan Turner <jonathandturner@users.noreply.github.com> | 2016-08-20 07:09:34 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-08-20 07:09:34 -0700 |
| commit | ed9a18a7c722106b9f4e7677523152ab65e1287c (patch) | |
| tree | fe993a4f39d11eafdcaf5f617cd718ba10798d6f /src/rustllvm/RustWrapper.cpp | |
| parent | 2d32a69700478c73d3f58705ab587575aafd9517 (diff) | |
| parent | dcee93a8030c3a62c5a05b45b050f90251d93af8 (diff) | |
| download | rust-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
