s/deriving/derives in Comments/Docs

There are a large number of places that incorrectly refer
to deriving in comments, instead of derives.

Fixes #20984
This commit is contained in:
Earl St Sauver 2015-01-12 02:02:38 -08:00
parent 89c4e3792d
commit 6ab95bdd62
18 changed files with 38 additions and 38 deletions

View file

@ -2430,7 +2430,7 @@ There are three different types of inline attributes:
* `#[inline(always)]` asks the compiler to always perform an inline expansion.
* `#[inline(never)]` asks the compiler to never perform an inline expansion.
### Derive
### `derive`
The `derive` attribute allows certain traits to be automatically implemented
for data structures. For example, the following will create an `impl` for the