Impl 'std::error::Error' for 'Error'.

Resolves #1460.
This commit is contained in:
Sergio Benitez 2020-10-27 16:04:25 -07:00
parent 8570afff3e
commit 23738446f0
1 changed files with 2 additions and 0 deletions

View File

@ -129,6 +129,8 @@ impl Error {
}
}
impl std::error::Error for Error { }
impl fmt::Display for ErrorKind {
#[inline]
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {