Skip to content

Commit

Permalink
Fix typo in Query::single_mut docs (bevyengine#13916)
Browse files Browse the repository at this point in the history
# 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.
  • Loading branch information
dav-wolff authored Jun 18, 2024
1 parent 20eb13f commit 1b0475f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/system/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
///
Expand Down

0 comments on commit 1b0475f

Please sign in to comment.