Skip to content

Commit

Permalink
Implement StdError for mail_auth::Error (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxxep authored Jun 25, 2024
1 parent e77138e commit 5e76c02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,8 @@ pub enum Error {

pub type Result<T> = std::result::Result<T, Error>;

impl std::error::Error for Error {}

impl Display for Error {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
match self {
Expand Down

0 comments on commit 5e76c02

Please sign in to comment.