From 1cde8712b5c0bd50ca1a4afc9a909142d3738c66 Mon Sep 17 00:00:00 2001 From: Greg Johnston Date: Thu, 5 Oct 2023 21:19:26 -0400 Subject: [PATCH] fix: `clippy` "needless lifetimes" warning (closes #1825) --- leptos_macro/src/component.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/leptos_macro/src/component.rs b/leptos_macro/src/component.rs index 9571449ea7..a713a6da72 100644 --- a/leptos_macro/src/component.rs +++ b/leptos_macro/src/component.rs @@ -511,6 +511,7 @@ impl ToTokens for Model { #[doc = ""] #component_fn_prop_docs #[allow(non_snake_case, clippy::too_many_arguments)] + #[allow(clippy::needless_lifetimes)] #tracing_instrument_attr #vis fn #name #impl_generics ( #props_arg