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:
81 files changed
+868
-649
No files matched your search
@@ -267,10 +267,10 @@ async fn test_auto_fmt() {
|
||||
let test_rsx = r#"
|
||||
//
|
||||
|
||||
rsx! {
|
||||
|
||||
|
||||
div {}
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
//
|
||||
|
||||
Reference in new issue
Block a user