Commit
Author: Liam Gray [hoxxep@gmail.com]
Committer: GitHub [noreply@github.com] Tue, 25 Jun 2024 08:38:42 +0000
Hash: 5e76c0220796eca8aa55803b6646e10d173122d3
Timestamp: Tue, 25 Jun 2024 08:38:42 +0000 (4 months ago)

+2 -0 +/-1 browse
Implement StdError for mail_auth::Error (#36)
Implement StdError for mail_auth::Error (#36)

1diff --git a/src/lib.rs b/src/lib.rs
2index 7bee922..56f6759 100644
3--- a/src/lib.rs
4+++ b/src/lib.rs
5 @@ -475,6 +475,8 @@ pub enum Error {
6
7 pub type Result<T> = std::result::Result<T, Error>;
8
9+ impl std::error::Error for Error {}
10+
11 impl Display for Error {
12 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
13 match self {