From 9f4c480725195d32fff8ff13a047418b463b9b98 Mon Sep 17 00:00:00 2001 From: Greg Johnston Date: Sat, 23 Dec 2023 07:36:28 -0500 Subject: [PATCH] docs: specify form for component generics (#2129) --- leptos_macro/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/leptos_macro/src/lib.rs b/leptos_macro/src/lib.rs index 7d8f01b056..25fc33dcf7 100644 --- a/leptos_macro/src/lib.rs +++ b/leptos_macro/src/lib.rs @@ -76,7 +76,8 @@ mod slot; /// # runtime.dispose(); /// ``` /// -/// 3. Components (functions annotated with `#[component]`) can be inserted as camel-cased tags +/// 3. Components (functions annotated with `#[component]`) can be inserted as camel-cased tags. (Generics +/// on components are specified as `/>`, not the turbofish `/>`.) /// ```rust /// # use leptos::*; /// # let runtime = create_runtime();