diff --git a/crates/bevy_ecs/src/hierarchy.rs b/crates/bevy_ecs/src/hierarchy.rs index bde9526d72136..2280ccb72b1e1 100644 --- a/crates/bevy_ecs/src/hierarchy.rs +++ b/crates/bevy_ecs/src/hierarchy.rs @@ -368,6 +368,7 @@ impl<'w> EntityWorldMut<'w> { } /// Spawns the passed bundle and adds it to this entity as a child. + /// Returns &mut [`EntityWorldMut`] for parent. /// /// For efficient spawning of multiple children, use [`with_children`]. /// @@ -480,6 +481,7 @@ impl<'a> EntityCommands<'a> { } /// Spawns the passed bundle and adds it to this entity as a child. + /// Returns &mut [`EntityCommands`] for parent. /// /// For efficient spawning of multiple children, use [`with_children`]. ///