mirror of
https://github.com/bevyengine/bevy
synced 2024-12-20 01:53:12 +00:00
Improve child_builder add_child documentation slightly (#16663)
A small documentation improvement. The description was copied from insert_children. I changed the documentation to be singular instead of plural when referring to the child in add_child. # Objective - The description was copied from insert_children and still refers to the child being added as plural children ## Solution - Description now has child in singular form. ## Testing - N/A --------- Co-authored-by: IQuick 143 <IQuick143cz@gmail.com>
This commit is contained in:
parent
1f884de53c
commit
277cfa5a4e
1 changed files with 2 additions and 2 deletions
|
@ -385,8 +385,8 @@ pub trait BuildChildren {
|
||||||
|
|
||||||
/// Adds a single child.
|
/// Adds a single child.
|
||||||
///
|
///
|
||||||
/// If the children were previously children of another parent, that parent's [`Children`] component
|
/// If the child was previously the child of another parent, that parent's [`Children`] component
|
||||||
/// will have those children removed from its list. Removing all children from a parent causes its
|
/// will have the child removed from its list. Removing all children from a parent causes its
|
||||||
/// [`Children`] component to be removed from the entity.
|
/// [`Children`] component to be removed from the entity.
|
||||||
///
|
///
|
||||||
/// # Panics
|
/// # Panics
|
||||||
|
|
Loading…
Reference in a new issue