Open MrGVSV opened 2 weeks ago
This issue was originally meant for closures as per https://github.com/TheBevyFlock/bevy_cli/pull/164#discussion_r1826459378. However, I think I managed to actually get closures working.
What's not being caught by the lint are the Fn traits and function pointers:
Fn
impl FnOnce(&mut Commands)
Box<dyn FnMut(&mut EntityMut)>
fn(&mut PtrMut)
This is probably something we can try to handle in the lint as well.
This issue was originally meant for closures as per https://github.com/TheBevyFlock/bevy_cli/pull/164#discussion_r1826459378. However, I think I managed to actually get closures working.
What's not being caught by the lint are the
Fn
traits and function pointers:impl FnOnce(&mut Commands)
Box<dyn FnMut(&mut EntityMut)>
fn(&mut PtrMut)
This is probably something we can try to handle in the lint as well.