bevy/examples/shader
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
..
animate_shader.rs shader examples wording coherence (#4810) 2022-05-30 15:57:25 +00:00
compute_shader_game_of_life.rs Clippy improvements (#4665) 2022-05-31 01:38:07 +00:00
custom_vertex_attribute.rs shader examples wording coherence (#4810) 2022-05-30 15:57:25 +00:00
shader_defs.rs ExtractResourcePlugin (#3745) 2022-05-30 18:36:03 +00:00
shader_instancing.rs ExtractResourcePlugin (#3745) 2022-05-30 18:36:03 +00:00
shader_material_glsl.rs shader examples wording coherence (#4810) 2022-05-30 15:57:25 +00:00
shader_material_screenspace_texture.rs shader examples wording coherence (#4810) 2022-05-30 15:57:25 +00:00
shader_material.rs shader examples wording coherence (#4810) 2022-05-30 15:57:25 +00:00