mirror of
https://github.com/bevyengine/bevy.git
synced 2026-06-30 07:45:50 -04:00
e30b5013b4
# Objective Resolve all clippy lints currently warning in one way or another. They were annoying me while contributing, especially having to find the lints i caused in the ~50 of them which this PR resolves. ## Solution Most of them were fixes that were reasonable to apply. `std_instead_of_core` currently has false hits on `std::io`: because `core::io` is unstable we don't want to apply those. So ive decided to disable this lint for now. This was already "allow" in `[lints.clippy]`, i made it "allow" in `[workspace.lints.clippy]` as well. ## Testing - [x] `cargo test --all` passes, except for `error::bevy_error::tests::filtered_backtrace_test` which fails on `main` in the same way for me - [x] `bevy_city` example works --------- Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com> Co-authored-by: Mike <mike.hsu@gmail.com> Co-authored-by: Mira <specificprotagonist@posteo.org>