bevy/crates/bevy_ecs/src/system/commands
Ben Frankel 18abe2186c
Fix inaccurate docs for Commands::spawn_empty (#14234)
# Objective

`Commands::spawn_empty` docs say that it queues a command to spawn an
entity, but it doesn't. It immediately reserves an `Entity` to be
spawned at the next flush point, which is possible because
`Entities::reserve_entity()` takes `&self` and no components are added
yet.

## Solution

Fix docs.
2024-07-15 15:32:20 +00:00
..
mod.rs Fix inaccurate docs for Commands::spawn_empty (#14234) 2024-07-15 15:32:20 +00:00
parallel_scope.rs refactor: Extract parallel queue abstraction (#7348) 2024-02-19 16:31:15 +00:00