Skip to content

Commit

Permalink
Fix in documentation (#21)
Browse files Browse the repository at this point in the history
In both examples, "Hello,World" is parsed the same way, therefore the remainders should be equivalent.
  • Loading branch information
tevelee authored Feb 8, 2021
1 parent 009dc6c commit df12ae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ let parser = Prefix<Substring> { $0 != "," }

var input = "Hello,World"[...]
parser.parse(&input) // => "Hello!!!"
input // => ",Hello"
input // => ",World"
```

The type of this parser is now:
Expand Down

0 comments on commit df12ae9

Please sign in to comment.