Skip to content

Commit 299bd37

Browse files
committed
Add Ref to the prelude (#7392)
# Objective Add the change-detection wrapper type `Ref<T>` (originally added in #7097) to `bevy_ecs::prelude`.
1 parent 5d912a2 commit 299bd37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/bevy_ecs/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pub mod prelude {
2929
#[doc(hidden)]
3030
pub use crate::{
3131
bundle::Bundle,
32-
change_detection::{DetectChanges, DetectChangesMut},
32+
change_detection::{DetectChanges, DetectChangesMut, Mut, Ref},
3333
component::Component,
3434
entity::Entity,
3535
event::{EventReader, EventWriter, Events},
@@ -44,7 +44,7 @@ pub mod prelude {
4444
Commands, In, IntoPipeSystem, IntoSystem, Local, NonSend, NonSendMut, ParallelCommands,
4545
ParamSet, Query, RemovedComponents, Res, ResMut, Resource, System, SystemParamFunction,
4646
},
47-
world::{FromWorld, Mut, World},
47+
world::{FromWorld, World},
4848
};
4949
}
5050

0 commit comments

Comments
 (0)