Skip to content

Commit

Permalink
Fix more clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
MrGVSV committed Jun 1, 2022
1 parent a54ec99 commit 62339f1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/bevy_reflect/bevy_reflect_derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ pub fn derive_reflect(input: TokenStream) -> TokenStream {
};

match derive_data {
ReflectDerive::Struct(struct_data) => impls::impl_struct(&struct_data),
ReflectDerive::UnitStruct(struct_data) => impls::impl_struct(&struct_data),
ReflectDerive::Struct(struct_data) | ReflectDerive::UnitStruct(struct_data) => {
impls::impl_struct(&struct_data)
}
ReflectDerive::TupleStruct(struct_data) => impls::impl_tuple_struct(&struct_data),
ReflectDerive::Enum(meta) => impls::impl_enum(&meta),
ReflectDerive::Value(meta) => impls::impl_value(&meta),
Expand Down

0 comments on commit 62339f1

Please sign in to comment.