Skip to content

Commit

Permalink
Fix double-semicolon grammar on resource methods
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcrichton committed Oct 26, 2023
1 parent 9c43f51 commit 9ea324f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion design/mvp/WIT.md
Original file line number Diff line number Diff line change
Expand Up @@ -1194,7 +1194,7 @@ Specifically, the syntax for a `resource` definition is:
```ebnf
resource-item ::= 'resource' id ';'
| 'resource' id '{' resource-method* '}'
resource-method ::= func-item ';'
resource-method ::= func-item
| id ':' 'static' func-type ';'
| 'constructor' param-list ';'
```
Expand Down

0 comments on commit 9ea324f

Please sign in to comment.