Skip to content

Commit 38d2909

Browse files
committed
reference: type definition -> type alias
Fixes #9266
1 parent c38e73f commit 38d2909

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/doc/reference.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1318,10 +1318,10 @@ let fptr: extern "C" fn() -> int = new_int;
13181318
Extern functions may be called directly from Rust code as Rust uses large,
13191319
contiguous stack segments like C.
13201320

1321-
### Type definitions
1321+
### Type aliases
13221322

1323-
A _type definition_ defines a new name for an existing [type](#types). Type
1324-
definitions are declared with the keyword `type`. Every value has a single,
1323+
A _type alias_ defines a new name for an existing [type](#types). Type
1324+
aliases are declared with the keyword `type`. Every value has a single,
13251325
specific type; the type-specified aspects of a value include:
13261326

13271327
* Whether the value is composed of sub-values or is indivisible.

0 commit comments

Comments
 (0)