bevy/crates/bevy_ecs/src/world
ickshonpe 7a5a734452
Replace map + unwrap_or(false) with is_some_and (#17067)
# Objective

The `my_option.map(|inner| inner.is_whatever).unwrap_or(false)` pattern
is fragile and ugly.

Replace it with `is_some_and` everywhere.
2024-12-31 20:28:02 +00:00
..
command_queue.rs Add no_std support to bevy_ecs (#16758) 2024-12-17 21:40:36 +00:00
component_constants.rs Fix *most* clippy lints (#15906) 2024-10-14 20:52:35 +00:00
deferred_world.rs Added modify_component to EntityWorldMut, DeferredWorld, and World (#16668) 2024-12-31 00:23:44 +00:00
entity_fetch.rs make EntityHashMap and EntityHashSet proper types (#16912) 2024-12-20 20:55:45 +00:00
entity_ref.rs Added modify_component to EntityWorldMut, DeferredWorld, and World (#16668) 2024-12-31 00:23:44 +00:00
error.rs track_change_detection: Also track spawns/despawns (#16047) 2024-12-17 04:46:31 +00:00
filtered_resource.rs Remove OnceLock usage from bevy_ecs (#16870) 2024-12-17 22:42:42 +00:00
identifier.rs Add no_std support to bevy_ecs (#16758) 2024-12-17 21:40:36 +00:00
mod.rs Replace map + unwrap_or(false) with is_some_and (#17067) 2024-12-31 20:28:02 +00:00
reflect.rs Prefer Display over Debug (#16112) 2024-12-27 00:40:06 +00:00
spawn_batch.rs implement EntitySet and iter_many_unique methods (#16547) 2024-12-18 00:49:01 +00:00
unsafe_world_cell.rs impl EntityBorrow for more types (#16917) 2024-12-24 02:47:03 +00:00