about summary refs log tree commit diff
path: root/src/liballoc_system
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-06-09 05:42:26 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-06-09 05:42:26 +0530
commit91b72011cc0b788c94d76e5967c894d1269d89f5 (patch)
tree7bf17bc98f8a78aaaddf4cad78028844257d286c /src/liballoc_system
parent521f82eb12f939fa95aa06ad1649f4aa1420ddfd (diff)
parent5efdcf268aed5139b8ec9de52db094edaf866822 (diff)
downloadrust-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