From 2fb69dbc78d5c7a49de345cb1b7ed9d7d7dcdf86 Mon Sep 17 00:00:00 2001 From: bicarlsen Date: Thu, 12 Dec 2024 01:16:28 +0100 Subject: [PATCH] Minor typo fix in `ToChildren::to_children` docs. --- 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;