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:
parent
89c4e3792d
commit
6ab95bdd62
18 changed files with 38 additions and 38 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue