This commit is contained in:
Elliott Pierce 2025-06-20 22:51:16 -04:00
parent 185a6decda
commit 4f956bd331

View File

@ -2395,7 +2395,7 @@ impl<'w> EntityWorldMut<'w> {
self self
} }
/// This destructs this entity if it is currently constructed, storing the new [`EntityGeneration`] in [`Self::entity`]. /// This destructs this entity if it is currently constructed, storing the new [`EntityGeneration`](crate::entity::EntityGeneration) in [`Self::entity`].
pub(crate) fn destruct_with_caller(&mut self, caller: MaybeLocation) { pub(crate) fn destruct_with_caller(&mut self, caller: MaybeLocation) {
// setup // setup
let Some(location) = self.location else { let Some(location) = self.location else {