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
@ -1117,7 +1117,7 @@ unsafe impl<T: ReadOnlyQueryData> ReadOnlyQueryData for Option<T> {}
|
|||||||
/// # Footguns
|
/// # Footguns
|
||||||
///
|
///
|
||||||
/// Note that a `Query<Has<T>>` will match all existing entities.
|
/// 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)`.
|
/// will always return `Ok(bool)`.
|
||||||
///
|
///
|
||||||
/// In the case of a non-existent entity, such as a despawned one, it will return `Err`.
|
/// In the case of a non-existent entity, such as a despawned one, it will return `Err`.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user