Skip to content

Commit 4b315af

Browse files
committed
remove TODOs I added
can revisit later
1 parent 473efed commit 4b315af

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

crates/bevy_ecs/src/system/function_system.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ impl<Param: SystemParam> SystemState<Param> {
226226
&'s mut self,
227227
world: &'w World,
228228
) -> <Param::Fetch as SystemParamFetch<'w, 's>>::Item {
229-
// TODO: Only increment if fetch is not read-only, otherwise just read the value.
230229
let change_tick = world.increment_change_tick();
231230
let param = <Param::Fetch as SystemParamFetch>::get_param(
232231
&mut self.param_state,
@@ -467,7 +466,6 @@ where
467466

468467
#[inline]
469468
unsafe fn run_unsafe(&mut self, input: Self::In, world: &World) -> Self::Out {
470-
// TODO: Only increment if fetch is not read-only, otherwise just read the value.
471469
let change_tick = world.increment_change_tick();
472470
let out = self.func.run(
473471
input,

0 commit comments

Comments
 (0)