Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes rust generated code when taking expression of void callback
code like so: ```slint callback foo(); if true : Button { clicked => { true ? foo() : foo(); } } ``` the code like foo() use the `option.map()` to get to the parent, but then it needs to still be wrapped in a `{...}` to convert that to a `()` expression Fixes #5883
- Loading branch information