Closed sdroege closed 2 weeks ago
I'll also update the closure macro in a bit once this is cleaned up (and re-use part of the code here I guess).
closure macro is also covered now
@GuillaumeGomez Updated everything, thanks for the review :)
Tests that cover all error cases of both macros are added now
Updated everything accordingly and will merge once the CI is happy. Everything else can happen on top of this
This works correctly with rustfmt now, and thanks to using syn correctly also gives much better user experience with rust-analyzer.
Also the
closure!
macro now supports plain weak references too.Fixes https://github.com/gtk-rs/gtk-rs-core/issues/1394