fix warning
This commit is contained in:
parent
180b349721
commit
20a6ee3c7f
@ -19,7 +19,7 @@ pub use crate::{
|
|||||||
world::command_queue::CommandQueue,
|
world::command_queue::CommandQueue,
|
||||||
};
|
};
|
||||||
use crate::{
|
use crate::{
|
||||||
entity::{ConstructedEntityDoesNotExistError, ConstructionError, EntitiesAllocator, EntityRow},
|
entity::{ConstructedEntityDoesNotExistError, ConstructionError, EntitiesAllocator},
|
||||||
error::{DefaultErrorHandler, ErrorHandler},
|
error::{DefaultErrorHandler, ErrorHandler},
|
||||||
};
|
};
|
||||||
pub use bevy_ecs_macros::FromWorld;
|
pub use bevy_ecs_macros::FromWorld;
|
||||||
@ -1525,7 +1525,7 @@ impl World {
|
|||||||
/// Destructs the given `entity`, if it exists. This will also remove all of the entity's
|
/// Destructs the given `entity`, if it exists. This will also remove all of the entity's
|
||||||
/// [`Components`](Component).
|
/// [`Components`](Component).
|
||||||
/// The *only* difference between destructing and despawning an entity is that destructing does not release the `entity` to be reused.
|
/// 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`] 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`](crate::entity::EntityRow) will not be able to be reused.
|
||||||
///
|
///
|
||||||
/// Returns an [`EntityDestructError`] if the entity does not exist.
|
/// Returns an [`EntityDestructError`] if the entity does not exist.
|
||||||
///
|
///
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user