mirror of
https://github.com/bevyengine/bevy
synced 2024-11-14 00:47:32 +00:00
fbb9b36441
# Objective Make it clear to the user why their program is failing rather than having an unhelpful `called Option::unwrap() on a None value` message. ## Solution Change the `unwrap()` calls to `expect()` calls, mirroring previously implemented error messages. ## Testing I have not tested these changes, but they are fairly trivial so I do not necessarily feel they need it. |
||
---|---|---|
.. | ||
macros | ||
src | ||
Cargo.toml |