From ecf6f1b96aae615698ce3283750f442a18130138 Mon Sep 17 00:00:00 2001 From: jethrogb Date: Fri, 2 Dec 2016 09:19:38 -0800 Subject: [PATCH] Update items section in reference Make clear that items must be definitions, and add missing extern block --- src/doc/reference.md | 9 +++++---- 1 file 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