bevy/examples/asset
BD103 84363f2fab
Remove redundant imports (#12817)
# Objective

- There are several redundant imports in the tests and examples that are
not caught by CI because additional flags need to be passed.

## Solution

- Run `cargo check --workspace --tests` and `cargo check --workspace
--examples`, then fix all warnings.
- Add `test-check` to CI, which will be run in the check-compiles job.
This should catch future warnings for tests. Examples are already
checked, but I'm not yet sure why they weren't caught.

## Discussion

- Should the `--tests` and `--examples` flags be added to CI, so this is
caught in the future?
- If so, #12818 will need to be merged first. It was also a warning
raised by checking the examples, but I chose to split off into a
separate PR.

---------

Co-authored-by: François Mockers <francois.mockers@vleue.com>
2024-04-01 19:59:08 +00:00
..
files Add extra_asset_source example (#11824) 2024-03-06 16:00:03 +00:00
processing Use async-fn in traits rather than BoxedFuture (#12550) 2024-03-18 17:56:57 +00:00
asset_decompression.rs Use async-fn in traits rather than BoxedFuture (#12550) 2024-03-18 17:56:57 +00:00
asset_loading.rs Migrate from LegacyColor to bevy_color::Color (#12163) 2024-02-29 19:35:12 +00:00
custom_asset.rs Remove redundant imports (#12817) 2024-04-01 19:59:08 +00:00
custom_asset_reader.rs Use async-fn in traits rather than BoxedFuture (#12550) 2024-03-18 17:56:57 +00:00
embedded_asset.rs Add extra_asset_source example (#11824) 2024-03-06 16:00:03 +00:00
extra_source.rs Use .register_asset_source() in extra_asset_source example (#12350) 2024-03-07 05:44:52 +00:00
hot_asset_reloading.rs Change light defaults & fix light examples (#11581) 2024-02-14 20:43:10 +00:00