From df12ae9d8ba781766874d5f66dd322c5b4570c00 Mon Sep 17 00:00:00 2001 From: Laszlo Teveli Date: Mon, 8 Feb 2021 14:56:36 +0100 Subject: [PATCH] Fix in documentation (#21) In both examples, "Hello,World" is parsed the same way, therefore the remainders should be equivalent. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ef66670a91..bcc8c7f28c 100644 --- a/README.md +++ b/README.md @@ -238,7 +238,7 @@ let parser = Prefix { $0 != "," } var input = "Hello,World"[...] parser.parse(&input) // => "Hello!!!" -input // => ",Hello" +input // => ",World" ``` The type of this parser is now: