From 5e76c0220796eca8aa55803b6646e10d173122d3 Mon Sep 17 00:00:00 2001 From: Liam Gray Date: Tue, 25 Jun 2024 09:38:42 +0100 Subject: [PATCH] Implement StdError for mail_auth::Error (#36) --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 7bee922..56f6759 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -475,6 +475,8 @@ pub enum Error { pub type Result = std::result::Result; +impl std::error::Error for Error {} + impl Display for Error { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { match self {