mirror of
https://github.com/bevyengine/bevy
synced 2024-11-26 22:50:19 +00:00
e71c4d2802
# Objective - fix new clippy lints before they get stable and break CI ## Solution - run `clippy --fix` to auto-fix machine-applicable lints - silence `clippy::should_implement_trait` for `fn HandleId::default<T: Asset>` ## Changes - always prefer `format!("{inline}")` over `format!("{}", not_inline)` - prefer `Box::default` (or `Box::<T>::default` if necessary) over `Box::new(T::default())` |
||
---|---|---|
.. | ||
change_detection.rs | ||
derive_label.rs | ||
events.rs | ||
resources.rs |