From 22a0f7568a4eb58e3a789a718fa71a4457b4fd9e Mon Sep 17 00:00:00 2001 From: Havvy Date: Fri, 19 May 2017 00:57:28 -0700 Subject: [PATCH] Minor fixes for type aliases --- src/items.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/items.md b/src/items.md index 2df9317a0..8d4b5ff22 100644 --- a/src/items.md +++ b/src/items.md @@ -18,7 +18,7 @@ There are several kinds of item: * [modules](#modules) * [function definitions](#functions) * [`extern` blocks](#external-blocks) -* [type definitions](../grammar.html#type-definitions) +* [type definitions](#type-aliases) * [struct definitions](#structs) * [enumeration definitions](#enumerations) * [constant items](#constant-items) @@ -446,8 +446,7 @@ type Point = (u8, u8); let p: Point = (41, 68); ``` -Currently a type alias to an enum type cannot be used to qualify the -constructors: +A type alias to an enum type cannot be used to qualify the constructors: ```rust enum E { A }