Disambiguate expressions in rsx by requiring curlies
This commit is contained in:
53 files changed
+399
-373
No files matched your search
@@ -12,11 +12,11 @@ fn app(cx: Scope) -> Element {
|
||||
"asd"
|
||||
Bapp {}
|
||||
}
|
||||
(0..10).map(|f| rsx!{
|
||||
{(0..10).map(|f| rsx!{
|
||||
div {
|
||||
"thing {f}"
|
||||
}
|
||||
})
|
||||
})}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user