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 f7db3fd commit df8c615Copy full SHA for df8c615
docs/_docs/internals/syntax.md
@@ -234,9 +234,9 @@ TypeBound ::= Type
234
| CaptureSet -- under captureChecking
235
NamesAndTypes ::= NameAndType {‘,’ NameAndType}
236
NameAndType ::= id ':' Type
237
-CaptureSet ::= ‘{’ CaptureRef {‘,’ CaptureRef} ‘}’ -- under captureChecking
238
-CaptureRef ::= { SimpleRef ‘.’ } SimpleRef [‘*’] [CapFilter] [‘.’ ‘rd’] -- under captureChecking
239
-CapFilter ::= ‘.’ ‘as’ ‘[’ QualId ’]’ -- under captureChecking
+CaptureSet ::= '{' CaptureRef {',' CaptureRef} '}' -- under captureChecking
+CaptureRef ::= { SimpleRef '.' } SimpleRef ['*'] [CapFilter] ['.' 'rd'] -- under captureChecking
+CapFilter ::= '.' 'only' '[' QualId ']' -- under captureChecking
240
```
241
242
### Expressions
0 commit comments