diff options
| author | Mathieu David <mathieudavid@mathieudavid.org> | 2015-05-30 11:51:25 +0200 |
|---|---|---|
| committer | Mathieu David <mathieudavid@mathieudavid.org> | 2015-05-30 11:51:25 +0200 |
| commit | 5d8e085369eabb6766b9ec9423716266719b1e34 (patch) | |
| tree | 2272e796cb738b5f02dd86aec6177f8e6caf3f54 /src/libsyntax/errors | |
| parent | 474c6e0ae47578b3e608c893e18bc83798b565aa (diff) | |
| download | rust-5d8e085369eabb6766b9ec9423716266719b1e34.tar.gz rust-5d8e085369eabb6766b9ec9423716266719b1e34.zip | |
Proposal to explain the copy trait more clearly
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/libsyntax/errors')
0 files changed, 0 insertions, 0 deletions
