mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
* Fix tests * Remove generics from virtual dom * Prep for degenerify * Fix examples * Remove props cloning * Fix tests
17 lines
355 B
Rust
17 lines
355 B
Rust
#[macro_use]
|
|
mod helpers;
|
|
|
|
use std::iter;
|
|
|
|
pass_helper! {
|
|
html! { for iter::empty::<Html>() };
|
|
html! { for Vec::<Html>::new().into_iter() };
|
|
html! { for (0..3).map(|num| { html! { <span>{num}</span> } }) };
|
|
html! { for {iter::empty::<Html>()} };
|
|
|
|
let empty: Vec<Html> = Vec::new();
|
|
html! { for empty.into_iter() };
|
|
}
|
|
|
|
fn main() {}
|