Skip to content

Commit b1670dc

Browse files
committed
reference doc: fix incorrect syntax production
1 parent 5d142ff commit b1670dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)