fix warning

This commit is contained in:
tigerros 2024-02-24 13:30:50 +01:00
parent e0b0afc0a9
commit 24e8ac2ad3
2 changed files with 2 additions and 2 deletions

View file

@ -559,7 +559,7 @@ impl RouteEnum {
#(#type_defs)*
#[allow(non_camel_case_types)]
#[derive(Debug, PartialEq)]
#[derive(Debug, PartialEq, Eq)]
pub enum #match_error_name {
#(#error_variants),*
}

View file

@ -309,7 +309,7 @@ pub(crate) fn create_error_type(
quote! {
#[allow(non_camel_case_types)]
#[derive(Debug, PartialEq)]
#[derive(Debug, PartialEq, Eq)]
pub enum #error_name {
ExtraSegments(String),
#(#child_type_variant,)*