Skip to content

Commit f23c686

Browse files
CatThingymockersf
andauthored
Fix minor typos in query join docs (#13812)
# Objective - Correct typos in docs for `Query::join`'s docs ## Solution - Fix them Co-authored-by: François Mockers <[email protected]>
1 parent 07a8567 commit f23c686

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

crates/bevy_ecs/src/system/query.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1385,9 +1385,9 @@ impl<'w, 's, D: QueryData, F: QueryFilter> Query<'w, 's, D, F> {
13851385

13861386
/// Returns a [`QueryLens`] that can be used to get a query with the combined fetch.
13871387
///
1388-
/// For example, this can take a `Query<&A>` and a `Queryy<&B>` and return a `Query<&A, &B>`.
1389-
/// The returned query will only return items with both `A` and `B`. Note that since filter
1390-
/// are dropped, non-archetypal filters like `Added` and `Changed` will no be respected.
1388+
/// For example, this can take a `Query<&A>` and a `Query<&B>` and return a `Query<(&A, &B)>`.
1389+
/// The returned query will only return items with both `A` and `B`. Note that since filters
1390+
/// are dropped, non-archetypal filters like `Added` and `Changed` will not be respected.
13911391
/// To maintain or change filter terms see `Self::join_filtered`.
13921392
///
13931393
/// ## Example
@@ -1446,7 +1446,7 @@ impl<'w, 's, D: QueryData, F: QueryFilter> Query<'w, 's, D, F> {
14461446

14471447
/// Equivalent to [`Self::join`] but also includes a [`QueryFilter`] type.
14481448
///
1449-
/// Note that the lens with iterate a subset of the original queries tables
1449+
/// Note that the lens with iterate a subset of the original queries' tables
14501450
/// and archetypes. This means that additional archetypal query terms like
14511451
/// `With` and `Without` will not necessarily be respected and non-archetypal
14521452
/// terms like `Added` and `Changed` will only be respected if they are in

0 commit comments

Comments
 (0)