diff options
| author | lukaramu <lukaramu@users.noreply.github.com> | 2017-08-07 00:52:51 +0200 |
|---|---|---|
| committer | lukaramu <lukaramu@users.noreply.github.com> | 2017-08-07 23:10:16 +0200 |
| commit | 63fc1faf8298d2bd4e9385a2e0286b2ee0db6866 (patch) | |
| tree | c436c7346e2ea19e7a1e6173f338e88f55d51af1 /src/rustllvm/RustWrapper.cpp | |
| parent | 0188ec6ef8d580f4d07c11ca271d90ec78e6b7a8 (diff) | |
| download | rust-63fc1faf8298d2bd4e9385a2e0286b2ee0db6866.tar.gz rust-63fc1faf8298d2bd4e9385a2e0286b2ee0db6866.zip | |
Revise documentation in core::ops::arith
Part of #29365. * Replaced examples for Mul-/Div-/RemAssign with more illustrative ones * Made summary senteces for the trait methods use third person singular * Moved some explanations from Examples section to main explanation * Switched around argument order for the vector-scalar multiplication example such that the vector is on the left side (as it would be expected if one were to switch from `*` to `*=`) * Replaced mostly redundant example introductions with headings in traits with more than one example (where it made sense) * Cleaned up some examples to derive `PartialEq` instead of implementing it manually when that wasn't needed * Removed explicit `fn main()`s in examples where they weren't necessary * Rephrased some things * Added some missing periods * Fixed some formatting/punctuation in examples
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
