File tree Expand file tree Collapse file tree 3 files changed +1
-4
lines changed
Expand file tree Collapse file tree 3 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -3036,7 +3036,7 @@ mod tests {
30363036 struct NonReleaseQueryData ;
30373037
30383038 /// SAFETY:
3039- /// `update_component_access` and `update_archetype_component_access` do nothing.
3039+ /// `update_component_access` do nothing.
30403040 /// This is sound because `fetch` does not access components.
30413041 unsafe impl WorldQuery for NonReleaseQueryData {
30423042 type Fetch < ' w > = ( ) ;
Original file line number Diff line number Diff line change @@ -849,7 +849,6 @@ unsafe fn evaluate_and_fold_conditions(
849849 // SAFETY:
850850 // - The caller ensures that `world` has permission to read any data
851851 // required by the condition.
852- // - `update_archetype_component_access` has been called for condition.
853852 unsafe {
854853 __rust_begin_short_backtrace:: readonly_run_unsafe ( & mut * * condition, world)
855854 }
Original file line number Diff line number Diff line change @@ -135,7 +135,6 @@ pub trait System: Send + Sync + 'static {
135135 unsafe { self . validate_param_unsafe ( world_cell) } ?;
136136 // SAFETY:
137137 // - We have exclusive access to the entire world.
138- // - `update_archetype_component_access` has been called.
139138 unsafe { self . run_unsafe ( input, world_cell) }
140139 }
141140
@@ -241,7 +240,6 @@ pub unsafe trait ReadOnlySystem: System {
241240 unsafe { self . validate_param_unsafe ( world) } ?;
242241 // SAFETY:
243242 // - We have read-only access to the entire world.
244- // - `update_archetype_component_access` has been called.
245243 unsafe { self . run_unsafe ( input, world) }
246244 }
247245}
You can’t perform that action at this time.
0 commit comments