Skip to content

Commit 747dc21

Browse files
authored
Added missing TypeParamBounds
1 parent 8f598e2 commit 747dc21

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/items/type-aliases.md

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
> **<sup>Syntax</sup>**\
44
> _TypeAlias_ :\
55
> &nbsp;&nbsp; `type` [IDENTIFIER]&nbsp;[_GenericParams_]<sup>?</sup>
6+
> ( `:` [_TypeParamBounds_] )<sup>?</sup>
67
> [_WhereClause_]<sup>?</sup> ( `=` [_Type_] )<sup>?</sup> `;`
78
89
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
3536

3637
[IDENTIFIER]: ../identifiers.md
3738
[_GenericParams_]: generics.md
39+
[_TypeParamBounds_]: ../trait-bounds.md
3840
[_WhereClause_]: generics.md#where-clauses
3941
[_Type_]: ../types.md#type-expressions
4042
[associated type]: associated-items.md#associated-types

0 commit comments

Comments
 (0)