aboutsummaryrefslogtreecommitdiffstats
path: root/src/error.rs
diff options
context:
space:
mode:
authorDirk Van Haerenborgh <vhdirk@gmail.com>2019-11-16 21:01:54 +0100
committerDirk Van Haerenborgh <vhdirk@gmail.com>2019-11-16 21:01:54 +0100
commit3b92173d12659231629c2205138b0857b66942f3 (patch)
tree276cb15d1535f724eb3613de9b8b69ad457303ec /src/error.rs
parente16769c9b16223c491766f9c9b2c828ee2253ed4 (diff)
downloadmail-3b92173d12659231629c2205138b0857b66942f3.tar.gz
make clippy happy
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs2
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),