diff options
| author | Dirk Van Haerenborgh <vhdirk@gmail.com> | 2019-11-16 21:01:54 +0100 |
|---|---|---|
| committer | Dirk Van Haerenborgh <vhdirk@gmail.com> | 2019-11-16 21:01:54 +0100 |
| commit | 3b92173d12659231629c2205138b0857b66942f3 (patch) | |
| tree | 276cb15d1535f724eb3613de9b8b69ad457303ec /src/error.rs | |
| parent | e16769c9b16223c491766f9c9b2c828ee2253ed4 (diff) | |
| download | mail-3b92173d12659231629c2205138b0857b66942f3.tar.gz | |
make clippy happy
Diffstat (limited to 'src/error.rs')
| -rw-r--r-- | src/error.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error.rs b/src/error.rs index 824cc39..64d0716 100644 --- a/src/error.rs +++ b/src/error.rs @@ -27,7 +27,7 @@ impl std::error::Error for Error { } } - fn cause(&self) -> Option<&error::Error> { + fn cause(&self) -> Option<&dyn error::Error> { match *self { Error::IoError(ref e) => Some(e), Error::NotmuchError(ref e) => Some(e), |
