Skip to content

Commit

Permalink
Fix typo in docs for Has (#11028)
Browse files Browse the repository at this point in the history
# Objective

Fix typo

## Solution

Put the letter `i` in there.
  • Loading branch information
rparrett authored Dec 19, 2023
1 parent d64e148 commit 7d2e6cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/query/fetch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1117,7 +1117,7 @@ unsafe impl<T: ReadOnlyQueryData> ReadOnlyQueryData for Option<T> {}
/// # Footguns
///
/// Note that a `Query<Has<T>>` will match all existing entities.
/// Beware! Even if it matches all entites, it doesn't mean that `query.get(entity)`
/// Beware! Even if it matches all entities, it doesn't mean that `query.get(entity)`
/// will always return `Ok(bool)`.
///
/// In the case of a non-existent entity, such as a despawned one, it will return `Err`.
Expand Down

0 comments on commit 7d2e6cb

Please sign in to comment.