diff --git a/crates/bevy_ecs/src/system/query.rs b/crates/bevy_ecs/src/system/query.rs index 110f6b0b33..b6a30b14ae 100644 --- a/crates/bevy_ecs/src/system/query.rs +++ b/crates/bevy_ecs/src/system/query.rs @@ -1651,6 +1651,8 @@ impl<'w, 'q, Q: QueryData, F: QueryFilter> From<&'q mut Query<'w, '_, Q, F>> /// Use [`Option>`] instead if zero or one matching entities can exist. /// /// See [`Query`] for more details. +/// +/// [System parameter]: crate::system::SystemParam pub struct Single<'w, D: QueryData, F: QueryFilter = ()> { pub(crate) item: D::Item<'w>, pub(crate) _filter: PhantomData, @@ -1687,6 +1689,8 @@ impl<'w, D: QueryData, F: QueryFilter> Single<'w, D, F> { /// which must individually check each query result for a match. /// /// See [`Query`] for more details. +/// +/// [System parameter]: crate::system::SystemParam pub struct Populated<'w, 's, D: QueryData, F: QueryFilter = ()>(pub(crate) Query<'w, 's, D, F>); impl<'w, 's, D: QueryData, F: QueryFilter> Deref for Populated<'w, 's, D, F> {