diff --git a/crates/bevy_ecs/src/entity/mod.rs b/crates/bevy_ecs/src/entity/mod.rs index 89cc274dc5..80ad6d02e8 100644 --- a/crates/bevy_ecs/src/entity/mod.rs +++ b/crates/bevy_ecs/src/entity/mod.rs @@ -279,7 +279,7 @@ impl Ord for EntityGeneration { /// but [`Entity`] ids may or may not correspond to a conceptual entity. /// /// Each [`EntityRow`] corresponds to a potential conceptual entity. -/// This can happen if, for example, the row has not been allocated, or it has been allocated and has not been [`constructed`](World::construct), or it has been since [destructed](World::destruct). +/// This can happen if, for example, the row has not been allocated, or it has been allocated and has not been [`constructed`](crate::world::World::construct), or it has been since [destructed](crate::world::World::destruct). /// Entity rows may also be pending reuse, etc. /// /// For a [`Entity`] id to correspond to a conceptual entity, its row must do so, and it must have the most up to date generation of that row. diff --git a/crates/bevy_ecs/src/world/mod.rs b/crates/bevy_ecs/src/world/mod.rs index f8f553bf2a..c08e69430f 100644 --- a/crates/bevy_ecs/src/world/mod.rs +++ b/crates/bevy_ecs/src/world/mod.rs @@ -1525,7 +1525,7 @@ impl World { /// Destructs the given `entity`, if it exists. This will also remove all of the entity's /// [`Components`](Component). /// The *only* difference between destructing and despawning an entity is that destructing does not release the `entity` to be reused. - /// It is up to the caller to either re-construct or fully despawn the `entity`; otherwise, the [`EntityRow`](crate::entity::EntityRow) will not be able to be reused. + /// It is up to the caller to either re-construct or fully despawn the `entity`; otherwise, the [`EntityRow`] will not be able to be reused. /// /// Returns an [`EntityDestructError`] if the entity does not exist. ///