Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Impl std::error::Error for VerboseError
Users of rust libraries usually expect error types to implement the `std::error::Error` trait, and many error utilities will naturally only work with types implementing that trait. However, unless nom's custom `Error` type, the `VerboseError` did not implement the std trait. This change introduces an empty implementation, meaning that users will only benefit from `Display` and `Debug` in the end.
- Loading branch information