![]() # 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. |
||
---|---|---|
.. | ||
macros | ||
src | ||
Cargo.toml |
![]() # 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. |
||
---|---|---|
.. | ||
macros | ||
src | ||
Cargo.toml |