docs: Add missing argument name to WrapsChildren component (#1866)

This commit is contained in:
Tyrone Tudehope 2023-10-09 22:16:59 +02:00 committed by GitHub
parent b61d0553a0
commit 18ad7cde20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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