diff --git a/src/lib.rs b/src/lib.rs index f2bb3ff..2f7bd6f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -352,7 +352,7 @@ fn derive_protocol(input: proc_macro2::TokenStream) -> proc_macro2::TokenStream // Create an error and result type for sending messages let error_enum = quote! { - #[derive(::std::fmt::Debug, ::std::clone::Clone, ::std::fmt::Display, ::thiserror::Error)] + #[derive(::std::fmt::Debug, ::std::clone::Clone, ::thiserror::Error)] #vis enum #error_enum_name { #[error("Failed to send query: {0}")] SendError(::tokio::sync::mpsc::error::SendError<(u64, #question_enum_name)>),