diff --git a/crates/bevy_ecs/src/query/fetch.rs b/crates/bevy_ecs/src/query/fetch.rs index 168af62600..8a1548b44f 100644 --- a/crates/bevy_ecs/src/query/fetch.rs +++ b/crates/bevy_ecs/src/query/fetch.rs @@ -322,7 +322,7 @@ unsafe impl QueryData for crate::query::IncludeEntity { (item.0, D::shrink(item.1)) } - /// Fetch [`Self::Item`](`WorldQuery::Item`) for either the given `entity` in the current [`Table`], + /// Fetch [`Self::Item`](`QueryData::Item`) for either the given `entity` in the current [`Table`], /// or for the given `entity` in the current [`Archetype`]. This must always be called after /// [`WorldQuery::set_table`] with a `table_row` in the range of the current [`Table`] or after /// [`WorldQuery::set_archetype`] with a `entity` in the current archetype. diff --git a/crates/bevy_ecs/src/query/world_query.rs b/crates/bevy_ecs/src/query/world_query.rs index 8d0c2e6337..a0ee371b39 100644 --- a/crates/bevy_ecs/src/query/world_query.rs +++ b/crates/bevy_ecs/src/query/world_query.rs @@ -132,7 +132,7 @@ pub unsafe trait WorldQuery { ) -> bool; } -/// A wrapper type around a data query `D` which will return the queried [`Entity`] +/// A wrapper type around a data query `D` which will return the queried [`crate::entity::Entity`] /// alongside the results from `D`. /// /// This convenience wrapper can be used by calling [`super::iter::QueryIter::include_entity`] on