Skip to content

Commit ec25742

Browse files
authored
Merge pull request #484 from mkatychev/fix/duplicate-bnf-async
fix(docs): remove extra async from resource-method
2 parents 6e08e28 + bcfd5c1 commit ec25742

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

design/mvp/WIT.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ package local:b {
8080
}
8181
```
8282

83-
It is worth noting that defining nested packages does not remove the need for the "root" package declaration above. These nested package definitions simply provide the contents of other packages inline so that they don't have to be otherwise resolved via the filesystem or a registry.
83+
It is worth noting that defining nested packages does not remove the need for the "root" package declaration above. These nested package definitions simply provide the contents of other packages inline so that they don't have to be otherwise resolved via the filesystem or a registry.
8484

8585
Package names are used to generate the [names of imports and exports]
8686
in the Component Model's representation of [`interface`s][interfaces] and
@@ -1540,7 +1540,7 @@ Specifically, the syntax for a `resource` definition is:
15401540
resource-item ::= 'resource' id ';'
15411541
| 'resource' id '{' resource-method* '}'
15421542
resource-method ::= func-item
1543-
| id ':' 'static' 'async'? func-type ';'
1543+
| id ':' 'static' func-type ';'
15441544
| 'constructor' param-list ';'
15451545
```
15461546

0 commit comments

Comments
 (0)