From 26359f9b379def94c63f31d04bfe1839a4ed78e6 Mon Sep 17 00:00:00 2001 From: Rob Parrett Date: Sun, 17 Sep 2023 18:07:11 -0700 Subject: [PATCH] Remove some old references to CoreSet (#9833) # Objective Remove some references to `CoreSet` which was removed in #8079. --- crates/bevy_ecs/src/world/mod.rs | 4 ++-- examples/ecs/apply_deferred.rs | 2 +- examples/ecs/removal_detection.rs | 2 +- examples/stress_tests/transform_hierarchy.rs | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/bevy_ecs/src/world/mod.rs b/crates/bevy_ecs/src/world/mod.rs index 55221ff2861a0..918b976e7f841 100644 --- a/crates/bevy_ecs/src/world/mod.rs +++ b/crates/bevy_ecs/src/world/mod.rs @@ -885,8 +885,8 @@ impl World { /// of detection to be recorded. /// /// When using `bevy_ecs` as part of the full Bevy engine, this method is added as a system to the - /// main app, to run during `CoreSet::Last`, so you don't need to call it manually. When using - /// `bevy_ecs` as a separate standalone crate however, you need to call this manually. + /// main app, to run during `Last`, so you don't need to call it manually. When using `bevy_ecs` + /// as a separate standalone crate however, you need to call this manually. /// /// ``` /// # use bevy_ecs::prelude::*; diff --git a/examples/ecs/apply_deferred.rs b/examples/ecs/apply_deferred.rs index e9944e497ffd9..5942ca9262e49 100644 --- a/examples/ecs/apply_deferred.rs +++ b/examples/ecs/apply_deferred.rs @@ -108,7 +108,7 @@ fn setup(mut commands: Commands) { // has finished during this tick, we spawn a new Apple and a new Orange. // // The commands that we have added here will normally be flushed by Bevy -// as part of the `CoreSet::UpdateFlush` set, but because we have ordered +// after all systems in the schedule have run, but because we have ordered // this system to run before `apply_deferred.in_set(CustomFlush)`, // these commands added here will be flushed during our custom flush. fn despawn_old_and_spawn_new_fruits( diff --git a/examples/ecs/removal_detection.rs b/examples/ecs/removal_detection.rs index 096d22472ad18..d0f6073aeee96 100644 --- a/examples/ecs/removal_detection.rs +++ b/examples/ecs/removal_detection.rs @@ -11,7 +11,7 @@ fn main() { // and the Component` is removed. // // With these constraints in mind we make sure to place the system that removes a `Component` in - // `CoreSet::Update', and the system that reacts on the removal in `CoreSet::PostUpdate`. + // `Update', and the system that reacts on the removal in `PostUpdate`. App::new() .add_plugins(DefaultPlugins) .add_systems(Startup, setup) diff --git a/examples/stress_tests/transform_hierarchy.rs b/examples/stress_tests/transform_hierarchy.rs index 4f294c077bef2..3e6064971e79a 100644 --- a/examples/stress_tests/transform_hierarchy.rs +++ b/examples/stress_tests/transform_hierarchy.rs @@ -185,7 +185,7 @@ fn main() { .insert_resource(cfg) .add_plugins((MinimalPlugins, TransformPlugin)) .add_systems(Startup, setup) - // Updating transforms *must* be done before `CoreSet::PostUpdate` + // Updating transforms *must* be done before `PostUpdate` // or the hierarchy will momentarily be in an invalid state. .add_systems(Update, update) .run();