fix docs
This commit is contained in:
parent
7e39f9dda1
commit
9cce28fe38
@ -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.
|
||||
|
||||
@ -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.
|
||||
///
|
||||
|
||||
Loading…
Reference in New Issue
Block a user