Skip to content

Commit

Permalink
reference doc: fix incorrect syntax production
Browse files Browse the repository at this point in the history
[Cherry-picked b1670dc]
  • Loading branch information
SethTisue authored and WojciechMazur committed Jun 23, 2024
1 parent 57c4e4a commit 8053f21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_docs/reference/contextual/givens.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ GivenDef ::= [GivenSig] StructuralInstance
| [GivenSig] AnnotType ‘=’ Expr
| [GivenSig] AnnotType
GivenSig ::= [id] [DefTypeParamClause] {UsingParamClause} ‘:’
StructuralInstance ::= ConstrApp {‘with’ ConstrApp} ‘with’ TemplateBody
StructuralInstance ::= ConstrApp {‘with’ ConstrApp} [‘with’ TemplateBody]
```

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

0 comments on commit 8053f21

Please sign in to comment.