Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(alt_complete): alt_complete! should never return incomplete #547

Merged
merged 1 commit into from
Sep 21, 2017

Conversation

ordian
Copy link
Contributor

@ordian ordian commented Aug 2, 2017

If one of the parsers return Incomplete, alt_complete! will try the next alternative. If there is no other parser left to try, an Error will be returned.

@coveralls
Copy link

coveralls commented Aug 2, 2017

Coverage Status

Coverage remained the same at 88.076% when pulling 4df732f on ordian:master into b05c3ed on Geal:master.

@Geal
Copy link
Collaborator

Geal commented Sep 21, 2017

Thanks!

@Geal Geal merged commit 628e012 into rust-bakery:master Sep 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants