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

Add is_eof() function to Parse trait #252

Merged
merged 1 commit into from
Feb 21, 2021

Conversation

xq-tec
Copy link

@xq-tec xq-tec commented Feb 20, 2021

Use Parse::is_eof() to replace the previous check for end-of-input.

Fixes #251

Use Parse::is_eof() to replace the previous check for end-of-input.
@xq-tec
Copy link
Author

xq-tec commented Feb 20, 2021

Whoops, I accidentally used the wrong login for the pull request.
Anyway, thank you for your awesome work on rust-peg!

@kevinmehall kevinmehall merged commit 24b185e into kevinmehall:master Feb 21, 2021
@kevinmehall
Copy link
Owner

Thanks!

Be aware that it might not make it into a release for a little while, as it's a breaking change for anyone who has their own Parse implementation, and there are a few other breaking changes I want to get in to 0.7.

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.

Grammar input type requires a ".len()" method
3 participants