mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 12:43:08 +00:00
Merge pull request #1975 from tigerros/fix-routable-clippy-warning
Fix Clippy warning in `Routable` macro
This commit is contained in:
commit
451a8f231e
2 changed files with 2 additions and 0 deletions
|
@ -559,6 +559,7 @@ impl RouteEnum {
|
||||||
#(#type_defs)*
|
#(#type_defs)*
|
||||||
|
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||||
#[derive(Debug, PartialEq)]
|
#[derive(Debug, PartialEq)]
|
||||||
pub enum #match_error_name {
|
pub enum #match_error_name {
|
||||||
#(#error_variants),*
|
#(#error_variants),*
|
||||||
|
|
|
@ -309,6 +309,7 @@ pub(crate) fn create_error_type(
|
||||||
|
|
||||||
quote! {
|
quote! {
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||||
#[derive(Debug, PartialEq)]
|
#[derive(Debug, PartialEq)]
|
||||||
pub enum #error_name {
|
pub enum #error_name {
|
||||||
ExtraSegments(String),
|
ExtraSegments(String),
|
||||||
|
|
Loading…
Reference in a new issue