Skip to content

Commit

Permalink
Fix typo in World::observe (#14492)
Browse files Browse the repository at this point in the history
# Objective

- Fix a typo in the documentation for `World::observe`

## Solution

- Change `Spawn` to `Spawns` and `it's` to `its`
  • Loading branch information
thatchedroof authored Jul 27, 2024
1 parent 724fe49 commit 4f5b8ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/observer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ impl Observers {
}

impl World {
/// Spawn a "global" [`Observer`] and returns it's [`Entity`].
/// Spawns a "global" [`Observer`] and returns its [`Entity`].
pub fn observe<E: Event, B: Bundle, M>(
&mut self,
system: impl IntoObserverSystem<E, B, M>,
Expand Down

0 comments on commit 4f5b8ca

Please sign in to comment.