]> git.lizzy.rs Git - rust.git/commit
Reorder `Copy` doc sections
authorCarol (Nichols || Goulding) <carol.nichols@gmail.com>
Sat, 21 May 2016 15:54:29 +0000 (11:54 -0400)
committerCarol (Nichols || Goulding) <carol.nichols@gmail.com>
Mon, 23 May 2016 14:03:44 +0000 (10:03 -0400)
commitfc467b31c2db57762ffed20a1305bb8830178071
treefc9214f6f445e19d680e1f83720eace029898c41
parent2f4405333243c3bb0b3a210201c98a69fe7a1c4a
Reorder `Copy` doc sections

The new order puts all the "when" questions together and puts the "how"
question with the "derivable" section. So you have to scroll past (and
hopefully read) the can/cannot/should caveats and guidelines to get to
the information about how to actually go about doing it once you've
determined that you can and should, with derivable information first so
that you can just use the derived implementation if that applies.

Previous order:

* General explanation
* When can my type be `Copy`?
* How can I implement `Copy`?
* When can my type _not_ be `Copy`?
* When should my type be `Copy`?
* Derivable

New order:

* General explanation
* When can my type be `Copy`?
* When can my type _not_ be `Copy`?
* When should my type be `Copy`?
* Derivable
* How can I implement `Copy`?
src/libcore/marker.rs