From 52c4c94c77709a371f6f87f945b23605a0ea6608 Mon Sep 17 00:00:00 2001 From: BigWingBeat Date: Wed, 16 Jul 2025 16:30:52 +0100 Subject: [PATCH] Fix doc links --- crates/bevy_ecs/src/reflect/entity_commands.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/crates/bevy_ecs/src/reflect/entity_commands.rs b/crates/bevy_ecs/src/reflect/entity_commands.rs index b0edfd23c4..0dcfca68ee 100644 --- a/crates/bevy_ecs/src/reflect/entity_commands.rs +++ b/crates/bevy_ecs/src/reflect/entity_commands.rs @@ -21,7 +21,7 @@ pub trait ReflectCommandExt { /// - If [`AppTypeRegistry`] does not have the reflection data for the given /// [`Component`](crate::component::Component) or [`Bundle`](crate::bundle::Bundle). /// - If the component or bundle data is invalid. See [`PartialReflect::apply`] for further details. - /// - If [`AppTypeRegistry`] is not present in the [`World`]. + /// - If [`AppTypeRegistry`] is not present in the [`World`](crate::world::World). /// /// # Note /// @@ -91,11 +91,11 @@ pub trait ReflectCommandExt { /// /// # Panics /// - /// - If the given [`Resource`] is not present in the [`World`]. + /// - If the given [`Resource`] is not present in the [`World`](crate::world::World). /// /// # Note /// - /// - The given [`Resource`] is removed from the [`World`] before the command is applied. + /// - The given [`Resource`] is removed from the [`World`](crate::world::World) before the command is applied. fn insert_reflect_with_registry>( &mut self, component: Box, @@ -213,7 +213,7 @@ impl<'w> EntityWorldMut<'w> { /// - If [`AppTypeRegistry`] does not have the reflection data for the given /// [`Component`](crate::component::Component) or [`Bundle`](crate::bundle::Bundle). /// - If the component or bundle data is invalid. See [`PartialReflect::apply`] for further details. - /// - If [`AppTypeRegistry`] is not present in the [`World`]. + /// - If [`AppTypeRegistry`] is not present in the [`World`](crate::world::World). /// /// # Note /// @@ -239,7 +239,7 @@ impl<'w> EntityWorldMut<'w> { /// - If the given [`Resource`] does not have the reflection data for the given /// [`Component`](crate::component::Component) or [`Bundle`](crate::bundle::Bundle). /// - If the component or bundle data is invalid. See [`PartialReflect::apply`] for further details. - /// - If the given [`Resource`] is not present in the [`World`]. + /// - If the given [`Resource`] is not present in the [`World`](crate::world::World). pub fn insert_reflect_with_registry>( &mut self, component: Box, @@ -264,7 +264,7 @@ impl<'w> EntityWorldMut<'w> { /// # Panics /// /// - If the entity has been despawned while this `EntityWorldMut` is still alive. - /// - If [`AppTypeRegistry`] is not present in the [`World`]. + /// - If [`AppTypeRegistry`] is not present in the [`World`](crate::world::World). /// /// # Note /// @@ -292,7 +292,7 @@ impl<'w> EntityWorldMut<'w> { /// # Panics /// /// - If the entity has been despawned while this `EntityWorldMut` is still alive. - /// - If [`AppTypeRegistry`] is not present in the [`World`]. + /// - If [`AppTypeRegistry`] is not present in the [`World`](crate::world::World). pub fn remove_reflect_with_registry>( &mut self, component_type_path: Cow<'static, str>,