From 6f7769515c721ad312ffa020ed4948298717e1f2 Mon Sep 17 00:00:00 2001 From: Alice Cecile Date: Wed, 18 Jan 2023 10:16:26 -0500 Subject: [PATCH] Remove broken imports --- crates/bevy_ecs/src/lib.rs | 5 +---- crates/bevy_ecs/src/system/exclusive_function_system.rs | 1 - crates/bevy_ecs/src/system/function_system.rs | 1 - crates/bevy_ecs/src/system/system.rs | 2 +- 4 files changed, 2 insertions(+), 7 deletions(-) diff --git a/crates/bevy_ecs/src/lib.rs b/crates/bevy_ecs/src/lib.rs index 47d93beab837d..e3a85e30ee2d6 100644 --- a/crates/bevy_ecs/src/lib.rs +++ b/crates/bevy_ecs/src/lib.rs @@ -33,10 +33,7 @@ pub mod prelude { entity::Entity, event::{EventReader, EventWriter, Events}, query::{Added, AnyOf, ChangeTrackers, Changed, Or, QueryState, With, Without}, - schedule::{ - IntoSystemDescriptor, RunCriteria, RunCriteriaDescriptorCoercion, RunCriteriaLabel, - Schedule, Stage, StageLabel, State, SystemLabel, SystemSet, SystemStage, - }, + schedule::{Schedule, State, SystemSet}, system::{ adapter as system_adapter, adapter::{dbg, error, ignore, info, unwrap, warn}, diff --git a/crates/bevy_ecs/src/system/exclusive_function_system.rs b/crates/bevy_ecs/src/system/exclusive_function_system.rs index 77dda93b30d17..e8eeb743eba03 100644 --- a/crates/bevy_ecs/src/system/exclusive_function_system.rs +++ b/crates/bevy_ecs/src/system/exclusive_function_system.rs @@ -3,7 +3,6 @@ use crate::{ change_detection::MAX_CHANGE_AGE, component::ComponentId, query::Access, - schedule::{SystemLabel, SystemLabelId}, system::{ check_system_change_tick, AsSystemLabel, ExclusiveSystemParam, ExclusiveSystemParamItem, In, InputMarker, IntoSystem, System, SystemMeta, SystemTypeIdLabel, diff --git a/crates/bevy_ecs/src/system/function_system.rs b/crates/bevy_ecs/src/system/function_system.rs index 7f5b1ccf0c928..88252a745a040 100644 --- a/crates/bevy_ecs/src/system/function_system.rs +++ b/crates/bevy_ecs/src/system/function_system.rs @@ -4,7 +4,6 @@ use crate::{ component::ComponentId, prelude::FromWorld, query::{Access, FilteredAccessSet}, - schedule::{SystemLabel, SystemLabelId}, system::{check_system_change_tick, ReadOnlySystemParam, System, SystemParam, SystemParamItem}, world::{World, WorldId}, }; diff --git a/crates/bevy_ecs/src/system/system.rs b/crates/bevy_ecs/src/system/system.rs index e046bfc031539..f75782d260d29 100644 --- a/crates/bevy_ecs/src/system/system.rs +++ b/crates/bevy_ecs/src/system/system.rs @@ -3,7 +3,7 @@ use core::fmt::Debug; use crate::{ archetype::ArchetypeComponentId, change_detection::MAX_CHANGE_AGE, component::ComponentId, - query::Access, schedule::SystemLabelId, world::World, + query::Access, world::World, }; use std::any::TypeId;