Skip to content

Commit efbde41

Browse files
committed
Remove quotes around the <id> since it's not a full string literal
1 parent ca34dcc commit efbde41

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

design/mvp/WIT.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -865,10 +865,10 @@ interface foo {
865865
@since(version = "0.2.1")
866866
b: func();
867867
868-
@since(version = "0.2.2", feature = "fancy-foo")
868+
@since(version = "0.2.2", feature = fancy-foo)
869869
c: func();
870870
871-
@unstable(feature = "fancier-foo")
871+
@unstable(feature = fancier-foo)
872872
d: func();
873873
}
874874
```
@@ -902,7 +902,7 @@ Specifically, the syntax for feature gates is:
902902
gate ::= unstable-gate
903903
| since-gate
904904
unstable-gate ::= '@unstable' '(' feature-field ')'
905-
feature-field ::= 'feature' '=' '"' id '"'
905+
feature-field ::= 'feature' '=' id
906906
since-gate ::= '@since' '(' 'version' '=' '"' <valid semver> '"' ( ',' feature-field )? ')'
907907
```
908908

0 commit comments

Comments
 (0)