Skip to content

Commit

Permalink
Fix a couple typos
Browse files Browse the repository at this point in the history
  • Loading branch information
rparrett committed Nov 30, 2024
1 parent eaa7dfe commit c8e1d1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/storage/blob_array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/traversal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
///
Expand Down

0 comments on commit c8e1d1d

Please sign in to comment.