Merge pull request #1810 from DioxusLabs/jk/disambiguate-exprs-in-rsx

Disambiguate if expressions in rsx by requiring curlies, allow shorthand component/element initialization
This commit is contained in:
Jonathan Kelley authored and GitHub committed 2024-01-11 12:25:59 -08:00
commit f7bf156422
81 files changed
+868 -649

No files matched your search

+2 -2
View File
@@ -267,10 +267,10 @@ async fn test_auto_fmt() {
let test_rsx = r#"
//
rsx! {
div {}
}
//
//