maple/maple-macro/examples/test1.rs
Andrey Tkachenko 29c21532cf
All checks were successful
continuous-integration/drone/push Build is passing
Add CI
2022-03-17 15:26:25 +04:00

16 lines
296 B
Rust

#![feature(proc_macro_hygiene)]
use maple_macro::view;
fn main() {
view! {
<test dasdasd="string">
<div dasdasd=4.6>
"dasdasdasdasdas"
{ 1 + 1 }
{ ... test() }
</div>
<div />
</test>
}
}