diff options
| -rw-r--r-- | src/main.rs | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/src/main.rs b/src/main.rs index 8e1bec6..199862c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -15,7 +15,7 @@  use exitcode;  use mailparse; -use thiserror; +use thiserror::Error;  use whatlang::{self, Lang};  use xdg; @@ -40,7 +40,7 @@ const ATTRIBUTION_EN: &'static str =  "#; -#[derive(thiserror::Error, Debug)] +#[derive(Error, Debug)]  enum WrapError {      #[error("unable to parse email body: {0}")]      ParseMail(#[from] mailparse::MailParseError), @@ -55,7 +55,7 @@ enum WrapError {      Io(#[from] std::io::Error),  } -#[derive(thiserror::Error, Debug)] +#[derive(Error, Debug)]  enum OttolangyError {      #[error("failed to read from stdin: {0}")]      ReadStdin(#[from] std::io::Error), | 
