bevy/crates/bevy_render/src/texture
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
..
basis.rs update wgpu to 0.13 (#5168) 2022-07-14 21:17:16 +00:00
dds.rs dds: Ensure the Extent3d for compressed textures represents the physical size (#5406) 2022-07-20 22:43:36 +00:00
fallback_image.rs Make Resource trait opt-in, requiring #[derive(Resource)] V2 (#5577) 2022-08-08 21:36:35 +00:00
hdr_texture_loader.rs update image to 0.24 (#4121) 2022-05-28 02:00:55 +00:00
image.rs fix nightly clippy warnings (#6395) 2022-10-28 21:03:01 +00:00
image_texture_conversion.rs Expose Image conversion functions (fixes #5452) (#5527) 2022-09-03 17:47:38 +00:00
image_texture_loader.rs Do not crash if RenderDevice doesn't exist (#4427) 2022-04-05 19:37:23 +00:00
ktx2.rs fix nightly clippy warnings (#6395) 2022-10-28 21:03:01 +00:00
mod.rs add ReflectAsset and ReflectHandle (#5923) 2022-10-28 20:42:33 +00:00
texture_cache.rs Make Resource trait opt-in, requiring #[derive(Resource)] V2 (#5577) 2022-08-08 21:36:35 +00:00