mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 15:14:50 +00:00
Fix typo in docs for Has (#11028)
# Objective Fix typo ## Solution Put the letter `i` in there.
This commit is contained in:
parent
d64e148e4e
commit
7d2e6cb468
1 changed files with 1 additions and 1 deletions
|
@ -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`.
|
||||
|
|
Loading…
Reference in a new issue