bevy/crates/bevy_ecs/macros
JoJoJet ce33354cee
Fix field visibility for read-only WorldQuery types (#8163)
# Objective

When using the `#[derive(WorldQuery)]` macro, the `ReadOnly` struct
generated has default (private) visibility for each field, regardless of
the visibility of the original field.

## Solution

For each field of a read-only `WorldQuery` variant, use the visibility
of the associated field defined on the original struct.
2023-03-22 17:49:42 +00:00
..
src Fix field visibility for read-only WorldQuery types (#8163) 2023-03-22 17:49:42 +00:00
Cargo.toml chore: Release (#7920) 2023-03-06 05:13:36 +00:00