From 68fdc8d9c496d9ba85c2ea1646d41cb1be4638ed Mon Sep 17 00:00:00 2001 From: bicarlsen Date: Sat, 14 Dec 2024 08:58:49 -0700 Subject: [PATCH] docs: typo fix in `ToChildren::to_children` docs. (#3352) --- leptos/src/children.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leptos/src/children.rs b/leptos/src/children.rs index 4721404996..5f32e6fb92 100644 --- a/leptos/src/children.rs +++ b/leptos/src/children.rs @@ -85,7 +85,7 @@ type BoxedChildrenFn = Box AnyView + Send>; /// ) /// } pub trait ToChildren { - /// Convert the provided type to (generally a closure) to Self (generally a "children" type, + /// Convert the provided type (generally a closure) to Self (generally a "children" type, /// e.g., [Children]). See the implementations to see exactly which input types are supported /// and which "children" type they are converted to. fn to_children(f: F) -> Self;