Skip to content

Commit

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

Add the change-detection wrapper type `Ref<T>` (originally added in #7097) to `bevy_ecs::prelude`.
  • Loading branch information
JoJoJet committed Jan 28, 2023
1 parent 5d912a2 commit 299bd37
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 299bd37

Please sign in to comment.