bevy/crates/bevy_asset
Sludge 13d46a528a
Don't .unwrap() in AssetPath::try_parse (#10452)
# Objective

- The docs on `AssetPath::try_parse` say that it will return an error
when the string is malformed, but it actually just `.unwrap()`s the
result.

## Solution

- Use `?` instead of unwrapping the result.
2023-11-09 18:07:48 +00:00
..
macros Release 0.12 (#10362) 2023-11-04 17:24:23 +00:00
src Don't .unwrap() in AssetPath::try_parse (#10452) 2023-11-09 18:07:48 +00:00
Cargo.toml Release 0.12 (#10362) 2023-11-04 17:24:23 +00:00