about summary refs log tree commit diff
path: root/src/doc/reference.md
diff options
context:
space:
mode:
authorAlexander Korolkov <alexander.korolkov@gmail.com>2015-02-05 15:04:07 +0300
committerAlexander Korolkov <alexander.korolkov@gmail.com>2015-02-08 20:00:30 +0300
commit34afe5e193182a0029abe1ae8258f79f4cd56cd9 (patch)
treeb3b464820ac3147838891a66351701f8071ce00c /src/doc/reference.md
parent725cc06464abda7a657780f12feaefb7f10333c6 (diff)
downloadrust-34afe5e193182a0029abe1ae8258f79f4cd56cd9.tar.gz
rust-34afe5e193182a0029abe1ae8258f79f4cd56cd9.zip
Rename Show to Debug, String to Display
Update reference.md:
 - derive() no longer supports Zero trait
 - derive() now supports Copy trait
Diffstat (limited to 'src/doc/reference.md')
-rw-r--r--src/doc/reference.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md
index 9c8191a386d..999cb217f93 100644
--- a/src/doc/reference.md
+++ b/src/doc/reference.md
@@ -2354,8 +2354,8 @@ Supported traits for `derive` are:
 * `FromPrimitive`, to create an instance from a numeric primitive.
 * `Hash`, to iterate over the bytes in a data type.
 * `Rand`, to create a random instance of a data type.
-* `Show`, to format a value using the `{}` formatter.
-* `Zero`, to create a zero instance of a numeric data type.
+* `Debug`, to format a value using the `{:?}` formatter.
+* `Copy`, for "Plain Old Data" types which can be copied by simply moving bits.
 
 ### Compiler Features