Skip to content

Implement UpdateEl for iterators #128

Closed
@theduke

Description

@theduke

I noticed that UpdateEl is not implemented on iterators.

Would be great to add an implementation.
That saves me a annoying collect.

div![
  // Want: 
  items.iter().map(render_item)
  // Required now:
  items.iter().map(render_item).collect::<Vec<_>>()
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions