We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 473efed commit 4b315afCopy full SHA for 4b315af
crates/bevy_ecs/src/system/function_system.rs
@@ -226,7 +226,6 @@ impl<Param: SystemParam> SystemState<Param> {
226
&'s mut self,
227
world: &'w World,
228
) -> <Param::Fetch as SystemParamFetch<'w, 's>>::Item {
229
- // TODO: Only increment if fetch is not read-only, otherwise just read the value.
230
let change_tick = world.increment_change_tick();
231
let param = <Param::Fetch as SystemParamFetch>::get_param(
232
&mut self.param_state,
@@ -467,7 +466,6 @@ where
467
466
468
#[inline]
469
unsafe fn run_unsafe(&mut self, input: Self::In, world: &World) -> Self::Out {
470
471
472
let out = self.func.run(
473
input,
0 commit comments