Skip to content

Commit

Permalink
add allow too_many_arguments (#2684)
Browse files Browse the repository at this point in the history
  • Loading branch information
b4-io authored Jul 12, 2024
1 parent 7af58a7 commit 2e31f60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions leptos_macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -647,14 +647,14 @@ fn component_macro(s: TokenStream, island: bool) -> TokenStream {
#expanded

#[doc(hidden)]
#[allow(non_snake_case, dead_code, clippy::too_many_arguments)]
#[allow(non_snake_case, dead_code, clippy::too_many_arguments, clippy::needless_lifetimes)]
#unexpanded
}
} else if let Ok(mut dummy) = dummy {
dummy.sig.ident = unmodified_fn_name_from_fn_name(&dummy.sig.ident);
quote! {
#[doc(hidden)]
#[allow(non_snake_case, dead_code, clippy::too_many_arguments)]
#[allow(non_snake_case, dead_code, clippy::too_many_arguments, clippy::needless_lifetimes)]
#dummy
}
} else {
Expand Down

0 comments on commit 2e31f60

Please sign in to comment.