bevy/crates/bevy_reflect/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
..
enums fix nightly clippy warnings (#6395) 2022-10-28 21:03:01 +00:00
impls Impl Reflect for PathBuf and OsString (#6193) 2022-10-08 17:02:21 +00:00
serde fix nightly clippy warnings (#6395) 2022-10-28 21:03:01 +00:00
array.rs bevy_reflect: Reflect doc comments (#6234) 2022-10-18 13:49:57 +00:00
fields.rs bevy_reflect: Reflect doc comments (#6234) 2022-10-18 13:49:57 +00:00
lib.rs fix nightly clippy warnings (#6395) 2022-10-28 21:03:01 +00:00
list.rs bevy_reflect: Reflect doc comments (#6234) 2022-10-18 13:49:57 +00:00
map.rs bevy_reflect: Reflect doc comments (#6234) 2022-10-18 13:49:57 +00:00
path.rs Make arrays behave like lists in reflection (#5987) 2022-09-27 18:11:38 +00:00
reflect.rs bevy_reflect: Update Reflection documentation (#5841) 2022-09-02 16:17:45 +00:00
std_traits.rs fix nightly clippy warnings (#6395) 2022-10-28 21:03:01 +00:00
struct_trait.rs bevy_reflect: Reflect doc comments (#6234) 2022-10-18 13:49:57 +00:00
tuple_struct.rs bevy_reflect: Reflect doc comments (#6234) 2022-10-18 13:49:57 +00:00
tuple.rs bevy_reflect: Reflect doc comments (#6234) 2022-10-18 13:49:57 +00:00
type_info.rs bevy_reflect: Reflect doc comments (#6234) 2022-10-18 13:49:57 +00:00
type_registry.rs Add reflect(skip_serializing) which retains reflection but disables automatic serialization (#5250) 2022-09-19 16:12:10 +00:00
type_uuid.rs re-enable #[derive(TypeUuid)] for generics (#4118) 2022-04-26 19:41:25 +00:00
utility.rs fix nightly clippy warnings (#6395) 2022-10-28 21:03:01 +00:00