mirror of
https://github.com/bevyengine/bevy
synced 2024-12-22 19:13:08 +00:00
35979922df
# Objective Fix `Option<NonSend<T>>` to work when T isn't `Send` Fix `Option<NonSendMut<T>>` to work when T isnt in the world. ## Solution Simple two row fix, properly initialize T in `OptionNonSendState` and remove `T: Component` bound for `Option<NonSendMut<T>>` also added a rudimentary test Co-authored-by: Ïvar Källström <ivar.kallstrom@gmail.com> |
||
---|---|---|
.. | ||
commands | ||
exclusive_system.rs | ||
function_system.rs | ||
mod.rs | ||
query.rs | ||
system.rs | ||
system_chaining.rs | ||
system_param.rs |