Remove duplicate #[automatically_derived] in ECS macro (#11388)

# Objective

It's already provided by `item_attrs`, so it can be removed.

# Solution

Remove the extra `#[automatically_derived]`.
This commit is contained in:
wackbyte 2024-01-17 11:52:45 -05:00 committed by GitHub
parent 9a8349ac7b
commit 43f83d5e7c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -37,7 +37,6 @@ pub(crate) fn item_struct(
Fields::Unnamed(_) => quote! {
#derive_macro_call
#item_attrs
#[automatically_derived]
#visibility struct #item_struct_name #user_impl_generics_with_world #user_where_clauses_with_world(
#( #field_visibilities <#field_types as #path::query::WorldQuery>::Item<'__w>, )*
);