bevy/crates/bevy_ecs/src/system/commands
Alice Cecile f5039a476d Mark .id() methods which return an Entity as must_use (#3750)
# Objective

- Calling .id() has no purpose unless you use the Entity returned
- This is an easy source of confusion for beginners.
- This is easily missed during refactors.

## Solution

- Mark the appropriate methods as #[must_use]
2022-01-23 14:24:37 +00:00
..
command_queue.rs [ecs] Improve Commands performance (#2332) 2021-07-16 19:57:20 +00:00
mod.rs Mark .id() methods which return an Entity as must_use (#3750) 2022-01-23 14:24:37 +00:00