Skip to content

Commit 7b76aa3

Browse files
committed
Rename struct in read_only_field_visibility test
1 parent 7d8bd89 commit 7b76aa3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/bevy_ecs/src/query/fetch.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1601,14 +1601,14 @@ mod tests {
16011601

16021602
#[derive(WorldQueryData)]
16031603
#[world_query_data(mutable)]
1604-
pub struct Q {
1604+
pub struct D {
16051605
pub a: &'static mut A,
16061606
}
16071607
}
16081608

16091609
let _ = private::QReadOnly { a: &A };
16101610

1611-
fn my_system(query: Query<private::Q>) {
1611+
fn my_system(query: Query<private::D>) {
16121612
for q in &query {
16131613
let _ = &q.a;
16141614
}

0 commit comments

Comments
 (0)