Skip to content

Commit 45d66ff

Browse files
authored
Merge pull request #3292 from linqingyao/change-0195
Fixed the associated syntax error in the associated type Trait Headers
2 parents e9e8ac8 + f48e32e commit 45d66ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/0195-associated-items.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ Trait headers are written according to the following grammar:
263263
TRAIT_HEADER =
264264
'trait' IDENT [ '<' INPUT_PARAMS '>' ] [ ':' BOUNDS ] [ WHERE_CLAUSE ]
265265
266-
INPUT_PARAMS = INPUT_TY { ',' INPUT_TY }* [ ',' ]
266+
INPUT_PARAMS = INPUT_PARAM { ',' INPUT_PARAM }* [ ',' ]
267267
INPUT_PARAM = IDENT [ ':' BOUNDS ]
268268
269269
BOUNDS = BOUND { '+' BOUND }* [ '+' ]

0 commit comments

Comments
 (0)