From 1b0475f2345f32c23579c808a898ad70821b0f19 Mon Sep 17 00:00:00 2001 From: dav-wolff <130931508+dav-wolff@users.noreply.github.com> Date: Tue, 18 Jun 2024 21:55:37 +0200 Subject: [PATCH] Fix typo in `Query::single_mut` docs (#13916) # Objective - Fix a typo in documentation for `Query::single_mut` ## Solution - Change `item` to `items` ## Testing - I built the documentation and it looked fine. - Since this only affects a doc comment, no further testing should be necessary. --- ## Changelog > This section is optional. If this was a trivial fix, or has no externally-visible impact, you can delete this section. - Fixed a typo in the documentation for Query. --- crates/bevy_ecs/src/system/query.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_ecs/src/system/query.rs b/crates/bevy_ecs/src/system/query.rs index d1ef798a6d57e..215c8d7b1108b 100644 --- a/crates/bevy_ecs/src/system/query.rs +++ b/crates/bevy_ecs/src/system/query.rs @@ -1150,7 +1150,7 @@ impl<'w, 's, D: QueryData, F: QueryFilter> Query<'w, 's, D, F> { /// /// # Panics /// - /// This method panics if the number of query item is **not** exactly one. + /// This method panics if the number of query items is **not** exactly one. /// /// # Example ///