Skip to content

Commit f3f29d9

Browse files
committed
Improvements to documentation
1 parent cf90e1a commit f3f29d9

File tree

1 file changed

+4
-4
lines changed
  • crates/bevy_ecs/src/system/commands

1 file changed

+4
-4
lines changed

crates/bevy_ecs/src/system/commands/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ impl<'w, 's, 'a> EntityCommands<'w, 's, 'a> {
512512
self
513513
}
514514

515-
/// Moves a [`Bundle`] from the entity to another.
515+
/// Moves a [`Bundle`] to a target entity.
516516
///
517517
/// # Example
518518
///
@@ -552,7 +552,7 @@ impl<'w, 's, 'a> EntityCommands<'w, 's, 'a> {
552552
self
553553
}
554554

555-
/// Moves a [`Component`] from the entity to another.
555+
/// Moves a [`Component`] to a target entity.
556556
///
557557
/// # Example
558558
///
@@ -575,7 +575,7 @@ impl<'w, 's, 'a> EntityCommands<'w, 's, 'a> {
575575
self.move_bundle_to::<(C,)>(target)
576576
}
577577

578-
/// Moves a [`Bundle`] from the entity to another.
578+
/// Moves a [`Bundle`] from a source entity.
579579
///
580580
/// See [`move_bundle_to`](EntityCommands::move_bundle_to).
581581
pub fn move_bundle_from<T: Bundle>(&mut self, source: Entity) -> &mut Self {
@@ -594,7 +594,7 @@ impl<'w, 's, 'a> EntityCommands<'w, 's, 'a> {
594594
self
595595
}
596596

597-
/// Moves a [`Component`] from the entity to another.
597+
/// Moves a [`Component`] from a source entity.
598598
///
599599
/// See [`move_to`](EntityCommands::move_to).
600600
pub fn move_from<C: Component>(&mut self, source: Entity) -> &mut Self {

0 commit comments

Comments
 (0)