doctest references

This commit is contained in:
Nathan Fenner 2025-03-02 22:56:31 -08:00
parent b18df09adf
commit 22142c9334
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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