Takes the first two commits from #15375 and adds suggestions from this comment: https://github.com/bevyengine/bevy/pull/15375#issuecomment-2366968300 See #15375 for more reasoning/motivation. ## Rebasing (rerunning) ```rust git switch simpler-lint-fixes git reset --hard main cargo fmt --all -- --unstable-features --config normalize_comments=true,imports_granularity=Crate cargo fmt --all git add --update git commit --message "rustfmt" cargo clippy --workspace --all-targets --all-features --fix cargo fmt --all -- --unstable-features --config normalize_comments=true,imports_granularity=Crate cargo fmt --all git add --update git commit --message "clippy" git cherry-pick e6c0b94f6795222310fb812fa5c4512661fc7887 ``` |
||
|---|---|---|
| .. | ||
| batched_uniform_buffer.rs | ||
| bind_group_entries.rs | ||
| bind_group_layout_entries.rs | ||
| bind_group_layout.rs | ||
| bind_group.rs | ||
| buffer_vec.rs | ||
| buffer.rs | ||
| gpu_array_buffer.rs | ||
| mod.rs | ||
| pipeline_cache.rs | ||
| pipeline_specializer.rs | ||
| pipeline.rs | ||
| resource_macros.rs | ||
| shader.rs | ||
| storage_buffer.rs | ||
| texture.rs | ||
| uniform_buffer.rs | ||