Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In rust-bitcoin#3847 we added an `InvalidCharError` into one of the variants of `ParsePublicKeyError` but we forgot to update the trait implementations. Fix the `error::Error` and `Display` implementations for `ParsePublicKeyError`. While we are at it match on `*self` as is typical in this codebase. With this applied rust-bitcoin#3835 is fully resolved. Close: rust-bitcoin#3853
- Loading branch information