bevy/crates/bevy_render/src
Jakob Hellermann e71c4d2802 fix nightly clippy warnings (#6395)
# 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())`
2022-10-28 21:03:01 +00:00
..
camera update camera projection if viewport changed (#5945) 2022-10-28 19:56:31 +00:00
color Correctly use as_hsla_f32 in Add<Color> and AddAssign<Color>, fixes #5543 (#5546) 2022-08-17 14:00:10 +00:00
mesh fix nightly clippy warnings (#6395) 2022-10-28 21:03:01 +00:00
primitives Very minor doc formatting changes (#5287) 2022-07-12 13:06:16 +00:00
render_graph fix nightly clippy warnings (#6395) 2022-10-28 21:03:01 +00:00
render_phase fix nightly clippy warnings (#6395) 2022-10-28 21:03:01 +00:00
render_resource fix nightly clippy warnings (#6395) 2022-10-28 21:03:01 +00:00
renderer fix nightly clippy warnings (#6395) 2022-10-28 21:03:01 +00:00
texture fix nightly clippy warnings (#6395) 2022-10-28 21:03:01 +00:00
view Resolve most remaining execution-order ambiguities (#6341) 2022-10-27 12:56:03 +00:00
extract_component.rs Implement IntoIterator for &Extract<P> (#6025) 2022-09-20 00:29:10 +00:00
extract_param.rs Exclusive Systems Now Implement System. Flexible Exclusive System Params (#6083) 2022-09-26 23:57:07 +00:00
extract_resource.rs Prepare for upcoming rustlang by fixing upcoming clippy warnings (#6376) 2022-10-26 19:15:15 +00:00
globals.rs Add global time scaling (#5752) 2022-10-22 18:52:29 +00:00
lib.rs Support arbitrary RenderTarget texture formats (#6380) 2022-10-26 23:12:12 +00:00
rangefinder.rs Very minor doc formatting changes (#5287) 2022-07-12 13:06:16 +00:00
render_asset.rs Make Resource trait opt-in, requiring #[derive(Resource)] V2 (#5577) 2022-08-08 21:36:35 +00:00
settings.rs Make Resource trait opt-in, requiring #[derive(Resource)] V2 (#5577) 2022-08-08 21:36:35 +00:00
spatial_bundle.rs Add associated constant IDENTITY to Transform and friends. (#5340) 2022-08-30 22:10:24 +00:00