Skip to content

Commit 05c8656

Browse files
authored
Correct *.wit format docs to reflect current implementation of resource-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.
1 parent d949374 commit 05c8656

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

WIT.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,8 +425,7 @@ resource-item ::= 'resource' id resource-contents
425425
resource-contents ::= nil
426426
| '{' resource-defs '}'
427427
428-
resource-defs ::= resource-def
429-
| resource-def ',' resource-defs?
428+
resource-defs ::= resource-def resource-defs?
430429
431430
resource-def ::= 'static'? func-item
432431
```

0 commit comments

Comments
 (0)