From 258e776a8e2026b9c1b9c8361335f2589aa28b07 Mon Sep 17 00:00:00 2001 From: JoJoJet <21144246+JoJoJet@users.noreply.github.com> Date: Sat, 28 Jan 2023 00:00:03 -0500 Subject: [PATCH] add `Ref` to the prelude --- crates/bevy_ecs/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/bevy_ecs/src/lib.rs b/crates/bevy_ecs/src/lib.rs index a85474f7d084c..8ccffe54293a6 100644 --- a/crates/bevy_ecs/src/lib.rs +++ b/crates/bevy_ecs/src/lib.rs @@ -29,7 +29,7 @@ pub mod prelude { #[doc(hidden)] pub use crate::{ bundle::Bundle, - change_detection::{DetectChanges, DetectChangesMut}, + change_detection::{DetectChanges, DetectChangesMut, Mut, Ref}, component::Component, entity::Entity, event::{EventReader, EventWriter, Events}, @@ -44,7 +44,7 @@ pub mod prelude { Commands, In, IntoPipeSystem, IntoSystem, Local, NonSend, NonSendMut, ParallelCommands, ParamSet, Query, RemovedComponents, Res, ResMut, Resource, System, SystemParamFunction, }, - world::{FromWorld, Mut, World}, + world::{FromWorld, World}, }; }