diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-06-09 05:42:26 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-06-09 05:42:26 +0530 |
| commit | 91b72011cc0b788c94d76e5967c894d1269d89f5 (patch) | |
| tree | 7bf17bc98f8a78aaaddf4cad78028844257d286c /src/liballoc_system | |
| parent | 521f82eb12f939fa95aa06ad1649f4aa1420ddfd (diff) | |
| parent | 5efdcf268aed5139b8ec9de52db094edaf866822 (diff) | |
| download | rust-91b72011cc0b788c94d76e5967c894d1269d89f5.tar.gz rust-91b72011cc0b788c94d76e5967c894d1269d89f5.zip | |
Rollup merge of #25898 - azerupi:patch-3, r=steveklabnik
As mentioned in #25893 the copy trait is not very well explained for beginners. There is no clear mention that all primitive types implement the copy trait and there are not a lot of examples. With this change I try to make it more visible and understandable for new users. I myself have struggled with this, see [my question on stackoverflow](http://stackoverflow.com/questions/30540419/why-are-booleans-copyable-even-though-the-documentation-doesnt-indicate-that). And I want to make it more transparent for others. I filed issue #25893 but I thought that I could give it a shot myself to relieve some of the work from the devs :) If it is not well written or there are some changes to be made before it can be merged, let me know. Cheers, Mathieu
Diffstat (limited to 'src/liballoc_system')
0 files changed, 0 insertions, 0 deletions
