bevy/examples/3d
Félix Lescaudey de Maneville f000c2b951 Clippy improvements (#4665)
# Objective

Follow up to my previous MR #3718 to add new clippy warnings to bevy:

- [x] [~~option_if_let_else~~](https://rust-lang.github.io/rust-clippy/master/#option_if_let_else) (reverted)
- [x] [redundant_else](https://rust-lang.github.io/rust-clippy/master/#redundant_else)
- [x] [match_same_arms](https://rust-lang.github.io/rust-clippy/master/#match_same_arms)
- [x] [semicolon_if_nothing_returned](https://rust-lang.github.io/rust-clippy/master/#semicolon_if_nothing_returned)
- [x] [explicit_iter_loop](https://rust-lang.github.io/rust-clippy/master/#explicit_iter_loop)
- [x] [map_flatten](https://rust-lang.github.io/rust-clippy/master/#map_flatten)

There is one commit per clippy warning, and the matching flags are added to the CI execution.

To test the CI execution you may run `cargo run -p ci -- clippy` at the root.

I choose the add the flags in the `ci` tool crate to avoid having them in every `lib.rs` but I guess it could become an issue with suprise warnings coming up after a commit/push


Co-authored-by: Carter Anderson <mcanders1@gmail.com>
2022-05-31 01:38:07 +00:00
..
3d_scene.rs remove unneeded msaa explicit addition from examples (#4830) 2022-05-27 20:52:12 +00:00
lighting.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
load_gltf.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
msaa.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
orthographic.rs remove unneeded msaa explicit addition from examples (#4830) 2022-05-27 20:52:12 +00:00
parenting.rs remove unneeded msaa explicit addition from examples (#4830) 2022-05-27 20:52:12 +00:00
pbr.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
render_to_texture.rs remove unneeded msaa explicit addition from examples (#4830) 2022-05-27 20:52:12 +00:00
shadow_biases.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
shadow_caster_receiver.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
shapes.rs Clippy improvements (#4665) 2022-05-31 01:38:07 +00:00
spherical_area_lights.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
texture.rs Doc/module style doc blocks for examples (#4438) 2022-05-16 13:53:20 +00:00
two_passes.rs remove unneeded msaa explicit addition from examples (#4830) 2022-05-27 20:52:12 +00:00
update_gltf_scene.rs remove unneeded msaa explicit addition from examples (#4830) 2022-05-27 20:52:12 +00:00
vertex_colors.rs remove unneeded msaa explicit addition from examples (#4830) 2022-05-27 20:52:12 +00:00
wireframe.rs remove unneeded msaa explicit addition from examples (#4830) 2022-05-27 20:52:12 +00:00