diff --git a/docs/book/src/view/09_component_children.md b/docs/book/src/view/09_component_children.md index 4382bc3065..0da9e64b47 100644 --- a/docs/book/src/view/09_component_children.md +++ b/docs/book/src/view/09_component_children.md @@ -96,7 +96,7 @@ a component that takes its children and turns them into an unordered list. ```rust #[component] -pub fn WrapsChildren(Children) -> impl IntoView { +pub fn WrapsChildren(children: Children) -> impl IntoView { // Fragment has `nodes` field that contains a Vec let children = children() .nodes