doctest references
This commit is contained in:
parent
b18df09adf
commit
22142c9334
@ -322,7 +322,7 @@ unsafe impl<D: QueryData> QueryData for crate::query::IncludeEntity<D> {
|
||||
(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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user