We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca34dcc commit efbde41Copy full SHA for efbde41
design/mvp/WIT.md
@@ -865,10 +865,10 @@ interface foo {
865
@since(version = "0.2.1")
866
b: func();
867
868
- @since(version = "0.2.2", feature = "fancy-foo")
+ @since(version = "0.2.2", feature = fancy-foo)
869
c: func();
870
871
- @unstable(feature = "fancier-foo")
+ @unstable(feature = fancier-foo)
872
d: func();
873
}
874
```
@@ -902,7 +902,7 @@ Specifically, the syntax for feature gates is:
902
gate ::= unstable-gate
903
| since-gate
904
unstable-gate ::= '@unstable' '(' feature-field ')'
905
-feature-field ::= 'feature' '=' '"' id '"'
+feature-field ::= 'feature' '=' id
906
since-gate ::= '@since' '(' 'version' '=' '"' <valid semver> '"' ( ',' feature-field )? ')'
907
908
0 commit comments