diff --git a/leptos_macro/example/src/lib.rs b/leptos_macro/example/src/lib.rs index c34e8cdd13..dfb5da868c 100644 --- a/leptos_macro/example/src/lib.rs +++ b/leptos_macro/example/src/lib.rs @@ -38,7 +38,7 @@ pub fn TestComponent( } #[component] -fn TestMutCallback<'a, F>(mut callback: F, value: &'a str) -> impl IntoView +fn TestMutCallback(mut callback: F, value: &'static str) -> impl IntoView where F: FnMut(u32) + 'static, {