Skip to content

Commit 465db1c

Browse files
authored
Merge pull request #330 from mjbshaw/patch-1
Fix the definition of MetaItem and MetaSeq
2 parents 134f419 + ce7ca2b commit 465db1c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/attributes.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,11 @@
1515
>    | IDENTIFIER `=` LITERAL
1616
>    | IDENTIFIER `(` LITERAL `)`
1717
>    | IDENTIFIER `(` _MetaSeq_ `)`
18-
>    | IDENTIFIER `(` _MetaSeq_ `,` `)`
1918
>
2019
> _MetaSeq_ :
2120
>       EMPTY
2221
>    | _MetaItem_
23-
>    | _MetaSeq_ `,` _MetaItem_
22+
>    | _MetaItem_ `,` _MetaSeq_
2423
2524
Any item declaration may have an _attribute_ applied to it. Attributes in Rust
2625
are modeled on Attributes in ECMA-335, with the syntax coming from ECMA-334

0 commit comments

Comments
 (0)