File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -799,7 +799,7 @@ impl ComponentInfo {
799799 self . descriptor . mutable
800800 }
801801
802- /// Returns `true` if the current component is mutable .
802+ /// Returns [`ComponentCloneBehavior`] of the current component.
803803 #[ inline]
804804 pub fn clone_behavior ( & self ) -> & ComponentCloneBehavior {
805805 & self . descriptor . clone_behavior
Original file line number Diff line number Diff line change @@ -581,7 +581,7 @@ impl<'w> EntityClonerBuilder<'w> {
581581 self . entity_cloner . clone_entity ( self . world , source, target) ;
582582 self
583583 }
584- /// Finishes configuring the builder and clones `source` entity to `target` .
584+ /// Finishes configuring [`EntityCloner`] returns it .
585585 pub fn finish ( self ) -> EntityCloner {
586586 self . entity_cloner
587587 }
You can’t perform that action at this time.
0 commit comments