Skip to content

Commit f5f092f

Browse files
authored
Fix new typos (#19562)
# Objective Fix new typos found on new version of `typos` (#19551) ## Solution Fix typos
1 parent 0381a79 commit f5f092f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

crates/bevy_ecs/src/component.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2053,7 +2053,7 @@ impl Components {
20532053
}
20542054

20552055
/// Gets the metadata associated with the given component, if it is registered.
2056-
/// This will return `None` if the id is not regiserted or is queued.
2056+
/// This will return `None` if the id is not registered or is queued.
20572057
///
20582058
/// This will return an incorrect result if `id` did not come from the same world as `self`. It may return `None` or a garbage value.
20592059
#[inline]

release-content/migration-guides/entity_representation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ This means that where `Result<T, IdentifierError>` was returned, `Option<T>` is
4949
It is well documented that both the bit format, serialization, and `Ord` implementations for `Entity` are subject to change between versions.
5050
Those have all changed in this version.
5151

52-
For entity ordering, the order still prioretizes an entity's generation, but after that, it now considers higher index entities less than lower index entities.
52+
For entity ordering, the order still prioritizes an entity's generation, but after that, it now considers higher index entities less than lower index entities.
5353

5454
The changes to serialization and the bit format are directly related.
5555
Effectively, this means that all serialized and transmuted entities will not work as expected and may crash.

release-content/migration-guides/remove_deprecated_batch_spawning.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ They were deprecated in 0.16 for being unnecessary with the retained render worl
1414

1515
Instead of these functions consider doing one of the following:
1616

17-
Option A) Instead of despawing entities, insert the `Disabled` component, and instead of respawning them at particular ids, use `try_insert_batch` or `insert_batch` and remove `Disabled`.
17+
Option A) Instead of despawning entities, insert the `Disabled` component, and instead of respawning them at particular ids, use `try_insert_batch` or `insert_batch` and remove `Disabled`.
1818

1919
Option B) Instead of giving special meaning to an entity id, simply use `spawn_batch` and ensure entity references are valid when despawning.

0 commit comments

Comments
 (0)