diff options
| author | Corey Farwell <coreyf@rwell.org> | 2016-12-03 15:39:53 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-03 15:39:53 -0500 |
| commit | 02ad965e3f8d83671348c3dbda93d4a0d1a13748 (patch) | |
| tree | 0e516e8d3afc9d3628bf4494f9e7c72e69c40498 | |
| parent | d6281faf7ed10923594e59f6b275f655c4002685 (diff) | |
| parent | ecf6f1b96aae615698ce3283750f442a18130138 (diff) | |
| download | rust-02ad965e3f8d83671348c3dbda93d4a0d1a13748.tar.gz rust-02ad965e3f8d83671348c3dbda93d4a0d1a13748.zip | |
Rollup merge of #38130 - jethrogb:patch-3, r=steveklabnik
Update items section in reference Make clear that items must be definitions, and add missing extern block
| -rw-r--r-- | src/doc/reference.md | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md index 4fbe5183967..8655bab4b21 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -740,13 +740,14 @@ There are several kinds of item: * [`extern crate` declarations](#extern-crate-declarations) * [`use` declarations](#use-declarations) * [modules](#modules) -* [functions](#functions) +* [function definitions](#functions) +* [`extern` blocks](#external-blocks) * [type definitions](grammar.html#type-definitions) -* [structs](#structs) -* [enumerations](#enumerations) +* [struct definitions](#structs) +* [enumeration definitions](#enumerations) * [constant items](#constant-items) * [static items](#static-items) -* [traits](#traits) +* [trait definitions](#traits) * [implementations](#implementations) Some items form an implicit scope for the declaration of sub-items. In other |
