From 38d29092f95a2ff8794513b64c1069e1680adf9e Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Thu, 11 Dec 2014 12:35:03 -0500 Subject: [PATCH] reference: type definition -> type alias Fixes #9266 --- src/doc/reference.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/doc/reference.md b/src/doc/reference.md index 660a97cd55f..2f7626cb6b0 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -1318,10 +1318,10 @@ let fptr: extern "C" fn() -> int = new_int; Extern functions may be called directly from Rust code as Rust uses large, contiguous stack segments like C. -### Type definitions +### Type aliases -A _type definition_ defines a new name for an existing [type](#types). Type -definitions are declared with the keyword `type`. Every value has a single, +A _type alias_ defines a new name for an existing [type](#types). Type +aliases are declared with the keyword `type`. Every value has a single, specific type; the type-specified aspects of a value include: * Whether the value is composed of sub-values or is indivisible.