Skip to content

Commit 694dff7

Browse files
items: clarify label for type-aliases documentation
"type definitions" could be about structs, enums, or unions too; the syntax diagram and the link target both refer to type aliases, so use that label for the link.
1 parent ec78de0 commit 694dff7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/items.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ There are several kinds of items:
4646
* [`extern crate` declarations]
4747
* [`use` declarations]
4848
* [function definitions]
49-
* [type definitions]
49+
* [type aliases]
5050
* [struct definitions]
5151
* [enumeration definitions]
5252
* [union definitions]
@@ -93,5 +93,5 @@ See [item scopes] for information on the scoping rules of items.
9393
[struct definitions]: items/structs.md
9494
[trait definitions]: items/traits.md
9595
[traits]: items/traits.md
96-
[type definitions]: items/type-aliases.md
96+
[type aliases]: items/type-aliases.md
9797
[union definitions]: items/unions.md

0 commit comments

Comments
 (0)