Skip to content

Commit

Permalink
Correct *.wit format docs to reflect current implementation of resour…
Browse files Browse the repository at this point in the history
…ce-defs (#241)

Corrects the documentation of the current *.wit format implementation to no longer falsely claim that function definitions in resource types need to (or even can) be divided by commas.
  • Loading branch information
Gearme authored Jun 13, 2022
1 parent d949374 commit 05c8656
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions WIT.md
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,7 @@ resource-item ::= 'resource' id resource-contents
resource-contents ::= nil
| '{' resource-defs '}'
resource-defs ::= resource-def
| resource-def ',' resource-defs?
resource-defs ::= resource-def resource-defs?
resource-def ::= 'static'? func-item
```
Expand Down

0 comments on commit 05c8656

Please sign in to comment.