diff --git a/crates/bevy_ecs/src/storage/blob_array.rs b/crates/bevy_ecs/src/storage/blob_array.rs index e6aefdb4b7..c508b78c98 100644 --- a/crates/bevy_ecs/src/storage/blob_array.rs +++ b/crates/bevy_ecs/src/storage/blob_array.rs @@ -413,7 +413,7 @@ impl BlobArray { self.get_unchecked_mut(index_to_keep).promote() } - /// This method will can [`Self::swap_remove_unchecked`] and drop the result. + /// This method will call [`Self::swap_remove_unchecked`] and drop the result. /// /// # Safety /// - `index_to_keep` must be safe to access (within the bounds of the length of the array). diff --git a/crates/bevy_ecs/src/traversal.rs b/crates/bevy_ecs/src/traversal.rs index 16a92802fd..3795883dfd 100644 --- a/crates/bevy_ecs/src/traversal.rs +++ b/crates/bevy_ecs/src/traversal.rs @@ -9,7 +9,7 @@ use crate::{entity::Entity, query::ReadOnlyQueryData}; /// /// Infinite loops are possible, and are not checked for. While looping can be desirable in some contexts /// (for example, an observer that triggers itself multiple times before stopping), following an infinite -/// traversal loop without an eventual exit will can your application to hang. Each implementer of `Traversal` +/// traversal loop without an eventual exit will cause your application to hang. Each implementer of `Traversal` /// for documenting possible looping behavior, and consumers of those implementations are responsible for /// avoiding infinite loops in their code. ///