bevy/examples/input
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
..
char_input_events.rs Remove redundant imports (#12817) 2024-04-01 19:59:08 +00:00
gamepad_input.rs Remove redundant imports (#12817) 2024-04-01 19:59:08 +00:00
gamepad_input_events.rs Fix typos (#9965) 2023-09-29 12:26:41 +00:00
gamepad_rumble.rs Rename Input to ButtonInput (#10859) 2023-12-06 20:32:34 +00:00
keyboard_input.rs Update winit dependency to 0.29 (#10702) 2023-12-21 07:40:47 +00:00
keyboard_input_events.rs Refactor EventReader::iter to read (#9631) 2023-08-30 14:20:03 +00:00
keyboard_modifiers.rs Update winit dependency to 0.29 (#10702) 2023-12-21 07:40:47 +00:00
mouse_grab.rs Rename Input to ButtonInput (#10859) 2023-12-06 20:32:34 +00:00
mouse_input.rs Rename Input to ButtonInput (#10859) 2023-12-06 20:32:34 +00:00
mouse_input_events.rs Refactor EventReader::iter to read (#9631) 2023-08-30 14:20:03 +00:00
text_input.rs Remove unused ImePreedit component from text_input example (#12818) 2024-04-01 02:33:42 +00:00
touch_input.rs Non-breaking change* from UK spellings to US (#8291) 2023-04-08 16:22:46 +00:00
touch_input_events.rs Refactor EventReader::iter to read (#9631) 2023-08-30 14:20:03 +00:00