Skip to content

Commit c94ec31

Browse files
authored
Merge pull request #989 from Discreater/patch-1
Add missing "?" notion
2 parents 8db4edd + 4e7812d commit c94ec31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/items/type-aliases.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
> **<sup>Syntax</sup>**\
44
> _TypeAlias_ :\
55
> &nbsp;&nbsp; `type` [IDENTIFIER]&nbsp;[_GenericParams_]<sup>?</sup>
6-
> [_WhereClause_]<sup>?</sup> ( `=` [_Type_] ) `;`
6+
> [_WhereClause_]<sup>?</sup> ( `=` [_Type_] )<sup>?</sup> `;`
77
88
A _type alias_ defines a new name for an existing [type]. Type aliases are
99
declared with the keyword `type`. Every value has a single, specific type, but

0 commit comments

Comments
 (0)