doc: update docstring of Lean.Parser.Tactic.Grind.first (#12998)

This PR updates the docstring for `Lean.Parser.Tactic.Grind.first`,
which changed syntax in #10828.
This commit is contained in:
Chris Henson 2026-03-22 12:54:33 -04:00 committed by GitHub
parent 8f6411ad57
commit c9708e7bd7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -205,7 +205,7 @@ macro:1 x:grind tk:" <;> " y:grind:2 : grind => `(grind|
with_annotate_state $tk skip
all_goals $y:grind)
/-- `first | tac | ...` runs each `tac` until one succeeds, or else fails. -/
/-- `first (tac) ...` runs each `tac` until one succeeds, or else fails. -/
syntax (name := first) "first " withPosition((ppDedent(ppLine) colGe "(" grindSeq ")")+) : grind
/-- `try tac` runs `tac` and succeeds even if `tac` failed. -/