Skip to content

Commit

Permalink
Fixed Typo in the description of EntityMut (#11103)
Browse files Browse the repository at this point in the history
# Objective
Fix a typo in the description of the  `EntityMut` struct
  • Loading branch information
Kees-van-Beilen authored Jan 1, 2024
1 parent 189ceaf commit 2fd0043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/world/entity_ref.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`], 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.
///
Expand Down

0 comments on commit 2fd0043

Please sign in to comment.