diff --git a/leptos_dom/src/html.rs b/leptos_dom/src/html.rs index 65a4048784..242d40c038 100644 --- a/leptos_dom/src/html.rs +++ b/leptos_dom/src/html.rs @@ -367,7 +367,8 @@ where } /// Bind data through attributes, or behavior through event handlers, to an element. -/// A collection of bindings (`collection: Vec`) can be spread onto an element like in `view! {
}`. +/// A value of any type able to provide an iterator of bindings (like a: `Vec`), +/// can be spread onto an element using the spread syntax `view! {
}`. pub enum Binding { /// A statically named attribute. Attribute {