From 9e86a8fd861cd53005d077a3031ef4026237fea7 Mon Sep 17 00:00:00 2001 From: Kees van Beilen <76178905+Kees-van-Beilen@users.noreply.github.com> Date: Wed, 27 Dec 2023 18:29:46 +0100 Subject: [PATCH 1/2] Fixed Typo EntityMut --- crates/bevy_ecs/src/world/entity_ref.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_ecs/src/world/entity_ref.rs b/crates/bevy_ecs/src/world/entity_ref.rs index 7d21ae61a64f1..e22d5ce6e3d68 100644 --- a/crates/bevy_ecs/src/world/entity_ref.rs +++ b/crates/bevy_ecs/src/world/entity_ref.rs @@ -190,7 +190,7 @@ impl<'a> From<&'a EntityMut<'_>> for EntityRef<'a> { /// Provides mutable access to a single entity and all of its components. /// -/// Contrast with [`EntityWorldMut`], with allows adding and removing components, +/// Contrast with [`EntityWorldMut`], wich allows adding and removing components, /// despawning the entity, and provides mutable access to the entire world. /// Because of this, `EntityWorldMut` cannot coexist with any other world accesses. /// From fcb2424f91f5eefe91e4a38347a6b8d1a94d0f2c Mon Sep 17 00:00:00 2001 From: Kees van Beilen <76178905+Kees-van-Beilen@users.noreply.github.com> Date: Wed, 27 Dec 2023 18:32:44 +0100 Subject: [PATCH 2/2] Fixed Typo of the Fixed Typo --- crates/bevy_ecs/src/world/entity_ref.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_ecs/src/world/entity_ref.rs b/crates/bevy_ecs/src/world/entity_ref.rs index e22d5ce6e3d68..2641132c651cb 100644 --- a/crates/bevy_ecs/src/world/entity_ref.rs +++ b/crates/bevy_ecs/src/world/entity_ref.rs @@ -190,7 +190,7 @@ impl<'a> From<&'a EntityMut<'_>> for EntityRef<'a> { /// Provides mutable access to a single entity and all of its components. /// -/// Contrast with [`EntityWorldMut`], wich allows adding and removing components, +/// Contrast with [`EntityWorldMut`], which allows adding and removing components, /// despawning the entity, and provides mutable access to the entire world. /// Because of this, `EntityWorldMut` cannot coexist with any other world accesses. ///