diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2014-12-11 12:35:03 -0500 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2014-12-11 12:35:03 -0500 |
| commit | 38d29092f95a2ff8794513b64c1069e1680adf9e (patch) | |
| tree | c7aabf816853e26af52947c2433b472cf00352a1 /src | |
| parent | c38e73fef53e8520e5170c40713e32ab965a8abe (diff) | |
| download | rust-38d29092f95a2ff8794513b64c1069e1680adf9e.tar.gz rust-38d29092f95a2ff8794513b64c1069e1680adf9e.zip | |
reference: type definition -> type alias
Fixes #9266
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/reference.md | 6 |
1 files 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. |
