-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(metadata): Remove deprecated error description
Rust 1.42 deprecates the `description()` method of `std::error::Error` and provides a blanket implementation suggesting implementation of `std::fmt::Display` instead. We already implemented `Display` for error types but in terms of the deprecated `description`. This commit implements `Display` directly and falls back to the blanket implementation of `description()`.
- Loading branch information
Showing
3 changed files
with
7 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters