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

Make Error clonable #1650

Merged
merged 2 commits into from
Mar 19, 2023
Merged

Make Error clonable #1650

merged 2 commits into from
Mar 19, 2023

Conversation

xmakro
Copy link
Contributor

@xmakro xmakro commented Mar 14, 2023

Err is clonable, but error::Error was not.

I ran into this while updating the warc crate from nom 5.1.1 to nom 7.1.3 on this callsite:
https://github.com/jedireza/warc/blob/b2b9dfca0d81ed5a91e0016ea89022caf5283ec4/src/record.rs#L182

Err is clonable, but error::Error was not.
@xmakro xmakro requested a review from Geal as a code owner March 14, 2023 18:41
@coveralls
Copy link

coveralls commented Mar 14, 2023

Pull Request Test Coverage Report for Build 4430845702

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 62.405%

Totals Coverage Status
Change from base Build 4430830784: 0.0%
Covered Lines: 1557
Relevant Lines: 2495

💛 - Coveralls

@Geal Geal merged commit e7b6578 into rust-bakery:main Mar 19, 2023
@Geal
Copy link
Collaborator

Geal commented Mar 19, 2023

thanks!

@xmakro
Copy link
Contributor Author

xmakro commented Mar 20, 2023

Thanks for merging! Could you please release a new version? Then I can fix the dependant crate. 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.

None yet

3 participants