Function bevy_ecs::system::assert_system_does_not_conflict

source ·
pub fn assert_system_does_not_conflict<Out, Params, S: IntoSystem<(), Out, Params>>(
    sys: S
)
Expand description

Ensures that the provided system doesn’t with itself.

This function will panic if the provided system conflict with itself.

Note: this will run the system on an empty world.