diff options
| author | Barosl LEE <github@barosl.com> | 2015-01-21 02:16:45 +0900 |
|---|---|---|
| committer | Barosl LEE <github@barosl.com> | 2015-01-21 02:16:45 +0900 |
| commit | 1d8b91781189a1e859d4c7f73b153abb913a292c (patch) | |
| tree | caf856158366aa817667c8e1e71a740617f49fe5 /src/doc/reference.md | |
| parent | ffd8cb79a2d3da6629c8f54ef9ea9c29bd92fc9e (diff) | |
| parent | 6ab95bdd62095429139f1b24717cbf0e5aa4a235 (diff) | |
| download | rust-1d8b91781189a1e859d4c7f73b153abb913a292c.tar.gz rust-1d8b91781189a1e859d4c7f73b153abb913a292c.zip | |
Rollup merge of #20998 - estsauver:20984, r=steveklabnik
There are a large number of places that incorrectly refer to deriving in comments, instead of derives. If someone could look at src/etc/generate-deriving-span-tests.py, I'm not sure how those tests were passing before/if they were.
Diffstat (limited to 'src/doc/reference.md')
| -rw-r--r-- | src/doc/reference.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md index a27d6c6e268..54e1e92aa0e 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -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 |
