Skip to content

Commit

Permalink
s/deriving/derives in Comments/Docs
Browse files Browse the repository at this point in the history
There are a large number of places that incorrectly refer
to deriving in comments, instead of derives.

Fixes rust-lang#20984
  • Loading branch information
estsauver authored and Manishearth committed Mar 2, 2017
1 parent 9921729 commit 1a3523a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -2451,7 +2451,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
Expand Down

0 comments on commit 1a3523a

Please sign in to comment.