rust/src/libcore/ops
bors f774bced50 Auto merge of #43724 - lukaramu:std-ops-docs, r=QuietMisdreavus
Improve std::ops docs

Fixes #29365. (This fixes all but one point from @steveklabnik's list, but that point was referring to examples of implementing range traits, but there are no range traits in std::ops.)

The main changes are quite a bit of copyediting, adding more "real" examples for some of the traits, incorporating some guidance from the API docs, more linking (cross-docs and to the book & reference), cleaning up examples, moving things around, and so on. Refer to the commit messages for more details.

Note: I decided to link to the second edition of the book since I think it's more appropriate now for the sections I linked, if this is not okay, please say so!
2017-08-12 19:40:49 +00:00
..
arith.rs std::ops docs: incorporated changes suggested in review 2017-08-12 19:53:04 +02:00
bit.rs std::ops docs: incorporated changes suggested in review 2017-08-12 19:53:04 +02:00
deref.rs std::ops docs: incorporated changes suggested in review 2017-08-12 19:53:04 +02:00
drop.rs Revise Drop docs 2017-08-07 23:10:16 +02:00
function.rs Auto merge of #43724 - lukaramu:std-ops-docs, r=QuietMisdreavus 2017-08-12 19:40:49 +00:00
index.rs std::ops docs: incorporated changes suggested in review 2017-08-12 19:53:04 +02:00
mod.rs Added to core::ops module docs 2017-08-08 00:37:20 +02:00
place.rs Removed as many "```ignore" as possible. 2017-06-23 15:31:53 +08:00
range.rs std::ops docs: incorporated changes suggested in review 2017-08-12 19:53:04 +02:00
try.rs Use rustc_on_unimplemented's trait name argument in try 2017-07-27 19:18:22 -07:00
unsize.rs Fix some more typos, this time words that are duplicated. 2017-08-11 00:31:47 +02:00