From ef26d9496f7e857b016cfd4744510306797cc327 Mon Sep 17 00:00:00 2001 From: Brandon Dyck Date: Wed, 11 Sep 2024 11:43:19 -0600 Subject: [PATCH] Fix doc comment typo --- gigaparsec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gigaparsec.go b/gigaparsec.go index e8061c8..5eeefb5 100644 --- a/gigaparsec.go +++ b/gigaparsec.go @@ -219,7 +219,7 @@ func Choose[In, Out any](p Parser[In, Out], ps ...Parser[In, Out]) Parser[In, Ou // Try will pretend that no input was consumed. This allows infinite // lookahead: Since Choose only calls another parser when the previous // parser consumed nothing, Try will allow backing out of a complex -// parser that did partially succeeded. +// parser that partially succeeded. func Try[In, Out any](p Parser[In, Out]) Parser[In, Out] { return func(input State[In]) (Result[In, Out], error) { result, err := p(input)