Indra-db / flecs-ecs-rs

a Rust API for Flecs : a fast entity component system (ECS)
MIT License
13 stars 4 forks source link

fix: emit should take &mut T #93

Open andrewgazelka opened 3 weeks ago

andrewgazelka commented 3 weeks ago

We can access &mut T with iter.param_mut(). Therefore, we should use &mut T instead of &T in the emit function.