compare parsed expressions instead of strings

This commit is contained in:
Evan Almloff committed 2022-05-26 19:21:53 -05:00
1 parent 5b0a60c294
commit 07da854455
3 files changed
+10 -9

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ fn app(cx: Scope) -> Element {
cx.render(rsx! {
h1 {
x: count,
width: format!("{}px", count),
"High-Five counter: {count}"
}
})