bevy/crates/bevy_ecs/src/world
Nathan Ward 00323b3048 Better error message for World::resource_scope (#5727)
# Objective

- Fixes #5365 
- The `assert!()` when the resource from `World::resource_scope` is inserted into the world is not descriptive.

## Solution

- Add more context to the assert inside of `World::resource_scope` when the `FnOnce` param inserts the resource.
2022-08-18 18:53:08 +00:00
..
entity_ref.rs Add into_world_mut to EntityMut (#5586) 2022-08-08 22:59:18 +00:00
identifier.rs Unique WorldId (#2827) 2021-09-30 20:54:47 +00:00
mod.rs Better error message for World::resource_scope (#5727) 2022-08-18 18:53:08 +00:00
spawn_batch.rs add more SAFETY comments and lint for missing ones in bevy_ecs (#4835) 2022-07-04 14:44:24 +00:00
world_cell.rs Make Resource trait opt-in, requiring #[derive(Resource)] V2 (#5577) 2022-08-08 21:36:35 +00:00