Skip to content

Commit

Permalink
Remove duplicate #[automatically_derived] in ECS macro (#11388)
Browse files Browse the repository at this point in the history
# Objective

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

# Solution

Remove the extra `#[automatically_derived]`.
  • Loading branch information
wackbyte authored Jan 17, 2024
1 parent 9a8349a commit 43f83d5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/bevy_ecs/macros/src/world_query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>, )*
);
Expand Down

0 comments on commit 43f83d5

Please sign in to comment.