Skip to content

Commit

Permalink
dangling attempt reference
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mie6 committed Jan 31, 2024
1 parent 85da238 commit 6fd88e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ object combinator {
* offset than `p` originally started at. While this sounds like it is the same as "having consumed input" for the
* purposes of backtracking, they are disjoint concepts:
*
* 1. in `attempt(p)`, `p` can ''observably'' consume input even though the wider parser does not consume input due to the `attempt`.
* 1. in `atomic(p)`, `p` can ''observably'' consume input even though the wider parser does not consume input due to the `atomic`.
* 1. in `amend(p)`, `p` can consume input and may not backtrack even though the consumption is not ''observable'' in the error
* message due to the `amend`.
*
Expand Down

0 comments on commit 6fd88e5

Please sign in to comment.