Skip to content

Commit

Permalink
Add Ref to the prelude (bevyengine#7392)
Browse files Browse the repository at this point in the history
# Objective

Add the change-detection wrapper type `Ref<T>` (originally added in bevyengine#7097) to `bevy_ecs::prelude`.
  • Loading branch information
JoJoJet authored and ItsDoot committed Feb 1, 2023
1 parent ce4d8f4 commit 3c1ad47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bevy_ecs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand All @@ -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},
};
}

Expand Down

0 comments on commit 3c1ad47

Please sign in to comment.