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 deprecations in the std::error::Error trait impl #360

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

antonilol
Copy link
Contributor

cause is deprecated in favor of source, calls to cause are redirected there
description is also deprecated because it is generally uninformative (the return value lifetime is very restrictive), this is replaced by the Display trait (already implemented)

Copy link
Member

@apoelstra apoelstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK bc71734 these changes are fine, but note that this crate is in a larger state of disrepair -- see rust-bitcoin/rust-bitcoin#2777 -- though it would be good to clean up clippy and rustc warnings at least

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.

2 participants