We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f598e2 commit 747dc21Copy full SHA for 747dc21
src/items/type-aliases.md
@@ -3,6 +3,7 @@
3
> **<sup>Syntax</sup>**\
4
> _TypeAlias_ :\
5
> `type` [IDENTIFIER] [_GenericParams_]<sup>?</sup>
6
+> ( `:` [_TypeParamBounds_] )<sup>?</sup>
7
> [_WhereClause_]<sup>?</sup> ( `=` [_Type_] )<sup>?</sup> `;`
8
9
A _type alias_ defines a new name for an existing [type]. Type aliases are
@@ -35,6 +36,7 @@ A type alias without the [_Type_] specification may only appear as an
35
36
37
[IDENTIFIER]: ../identifiers.md
38
[_GenericParams_]: generics.md
39
+[_TypeParamBounds_]: ../trait-bounds.md
40
[_WhereClause_]: generics.md#where-clauses
41
[_Type_]: ../types.md#type-expressions
42
[associated type]: associated-items.md#associated-types
0 commit comments