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

Implemented std::error::Error and std::fmt::Display traits for nom::Err #1043

Merged
merged 1 commit into from
Jan 7, 2020

Conversation

Jibbow
Copy link
Contributor

@Jibbow Jibbow commented Oct 5, 2019

Related issue: #591

I came across this issue when I worked with nom. I thought having the Error and Display trait on nom::Err might be very helpful.
When I poked around the code I realized that there already was an old implementation that was commented out. Referring to the mentioned issue it might have been because of Error::description. But because this is now deprecated anyway I considered opening a PR.

If the removal of the old Error and Display implementations had other reasons, feel free to close this PR.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.5%) to 86.786% when pulling 7952b69 on Jibbow:master into 8517064 on Geal:master.

@Geal
Copy link
Collaborator

Geal commented Jan 7, 2020

thanks!

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