Skip to content

Commit

Permalink
docs: Add missing argument name to WrapsChildren component (#1866)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnynotsolucky authored Oct 9, 2023
1 parent b61d055 commit 18ad7cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/book/src/view/09_component_children.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<View>
let children = children()
.nodes
Expand Down

0 comments on commit 18ad7cd

Please sign in to comment.