mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 04:33:37 +00:00
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:
parent
9a8349ac7b
commit
43f83d5e7c
1 changed files with 0 additions and 1 deletions
|
@ -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>, )*
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue