diff --git a/docs/book/src/view/04_iteration.md b/docs/book/src/view/04_iteration.md index 4e52b6f15..7884087c9 100644 --- a/docs/book/src/view/04_iteration.md +++ b/docs/book/src/view/04_iteration.md @@ -229,9 +229,9 @@ fn DynamicList( // can only grow, because moving items around inside the list // means their indices will change and they will all rerender key=|counter| counter.0 - // the view function receives each item from your `each` iterator + // `children` receives each item from your `each` iterator // and returns a view - view=move |(id, (count, set_count))| { + children=move |(id, (count, set_count))| { view! {