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();