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.
This commit is contained in:
dav-wolff 2024-06-18 21:55:37 +02:00 committed by GitHub
parent 20eb13f458
commit 1b0475f234
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
///