From f23c686fcf4a4d57cfd551aa66b5b82ee17c652b Mon Sep 17 00:00:00 2001 From: CatThingy <32040424+CatThingy@users.noreply.github.com> Date: Tue, 11 Jun 2024 16:24:53 -0700 Subject: [PATCH] Fix minor typos in query join docs (#13812) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # Objective - Correct typos in docs for `Query::join`'s docs ## Solution - Fix them Co-authored-by: François Mockers --- crates/bevy_ecs/src/system/query.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/bevy_ecs/src/system/query.rs b/crates/bevy_ecs/src/system/query.rs index 61bac514065f4..d1ef798a6d57e 100644 --- a/crates/bevy_ecs/src/system/query.rs +++ b/crates/bevy_ecs/src/system/query.rs @@ -1385,9 +1385,9 @@ impl<'w, 's, D: QueryData, F: QueryFilter> Query<'w, 's, D, F> { /// Returns a [`QueryLens`] that can be used to get a query with the combined fetch. /// - /// For example, this can take a `Query<&A>` and a `Queryy<&B>` and return a `Query<&A, &B>`. - /// The returned query will only return items with both `A` and `B`. Note that since filter - /// are dropped, non-archetypal filters like `Added` and `Changed` will no be respected. + /// For example, this can take a `Query<&A>` and a `Query<&B>` and return a `Query<(&A, &B)>`. + /// The returned query will only return items with both `A` and `B`. Note that since filters + /// are dropped, non-archetypal filters like `Added` and `Changed` will not be respected. /// To maintain or change filter terms see `Self::join_filtered`. /// /// ## Example @@ -1446,7 +1446,7 @@ impl<'w, 's, D: QueryData, F: QueryFilter> Query<'w, 's, D, F> { /// Equivalent to [`Self::join`] but also includes a [`QueryFilter`] type. /// - /// Note that the lens with iterate a subset of the original queries tables + /// Note that the lens with iterate a subset of the original queries' tables /// and archetypes. This means that additional archetypal query terms like /// `With` and `Without` will not necessarily be respected and non-archetypal /// terms like `Added` and `Changed` will only be respected if they are in