Skip to content

Commit 2aefe84

Browse files
Backport "reference doc: fix incorrect syntax production" to LTS (#20761)
Backports #19017 to the LTS branch. PR submitted by the release tooling. [skip ci]
2 parents 1aea86b + 8053f21 commit 2aefe84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docs/_docs/reference/contextual/givens.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ GivenDef ::= [GivenSig] StructuralInstance
181181
| [GivenSig] AnnotType ‘=’ Expr
182182
| [GivenSig] AnnotType
183183
GivenSig ::= [id] [DefTypeParamClause] {UsingParamClause} ‘:’
184-
StructuralInstance ::= ConstrApp {‘with’ ConstrApp} ‘with’ TemplateBody
184+
StructuralInstance ::= ConstrApp {‘with’ ConstrApp} [‘with’ TemplateBody]
185185
```
186186

187187
A given instance starts with the reserved word `given` and an optional _signature_. The signature

0 commit comments

Comments
 (0)