# Objective The ECS code to do with Observers was recently refactored to use an `EventKey` newtype. On reading through the PR, I was a bit confused that sometimes a variable called `event` refers to an `Event` and sometimes it refers to an `EventKey`. I think the code is clearer when `event` refers to an `Event` and `event_key` refers to an `EventKey`. ## Solution This PR renames some uses of `event` to `event_key`. ## Testing - Did you test these changes? If so, how? I ran `cargo run -p ci -- tests` - Are there any parts that need more testing? No - How can other people (reviewers) test your changes? Is there anything specific they need to know? No. - If relevant, what platforms did you test these changes on, and are there any important ones you can't test? Probably not relevant, but MacOS. --------- Co-authored-by: Steve Alexander <steve.alexander@priva.com> |
||
|---|---|---|
| .. | ||
| command_queue.rs | ||
| deferred_world.rs | ||
| entity_fetch.rs | ||
| entity_ref.rs | ||
| error.rs | ||
| filtered_resource.rs | ||
| identifier.rs | ||
| mod.rs | ||
| reflect.rs | ||
| spawn_batch.rs | ||
| unsafe_world_cell.rs | ||