Rename Show to Debug, String to Display

Update reference.md:
 - derive() no longer supports Zero trait
 - derive() now supports Copy trait
This commit is contained in:
Alexander Korolkov 2015-02-05 15:04:07 +03:00 committed by Manish Goregaokar
parent c74b9d2352
commit ea80c2e7fa
1 changed files with 2 additions and 2 deletions

View File

@ -2356,8 +2356,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