fix: autofmt on single line rsx calls

This commit is contained in:
Jonathan Kelley committed 2022-07-07 02:06:50 -04:00
1 parent 2b9888627b
commit 3d47cb48fa
5 files changed
+23 -13

No files matched your search

+2
View File
@@ -12,3 +12,5 @@ macro_rules! twoway {
}
twoway!("comments" => comments);
twoway!("multi" => multi);
+3
View File
@@ -0,0 +1,3 @@
fn app(cx: Scope) -> Element {
cx.render(rsx! { div { "hello world" } })
}
@@ -0,0 +1,5 @@
fn app(cx: Scope) -> Element {
cx.render(rsx! {
div {"hello world" }
})
}