Experiment with call syntax only working for copy types
This commit is contained in:
19 files changed
+52
-76
No files matched your search
@@ -11,7 +11,7 @@ fn app() -> Element {
|
||||
div {
|
||||
button { onclick: move |_| disabled.toggle(),
|
||||
"click to "
|
||||
if *disabled() { "enable" } else { "disable" }
|
||||
if disabled() { "enable" } else { "disable" }
|
||||
" the lower button"
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user