Closed maciejhirsz closed 1 year ago
This should now be legal:
bind! { state: let reset = |_| *state = 0; } view! { // `reset` previously was of `impl Listener<_>` type that made it `!Copy` <input onclick={reset} onchange={reset}> }
This should now be legal: