From 1142d53a9945c61f31a560e0d705ffc74ec00218 Mon Sep 17 00:00:00 2001 From: Valentine Briese Date: Fri, 22 Dec 2023 09:19:31 -0800 Subject: [PATCH] Add missing colon in `States` documentation (#11064) # Objective The documentation for the `States` trait contains an error! There is a single colon missing from `OnExit`. ## Solution Replace `OnExit` with `OnExit`. (Notice the added colon.) --- ## Changelog ### Added - Added missing colon in `States` documentation. --- Bevy community, you may now rest easy. --- crates/bevy_ecs/src/schedule/state.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_ecs/src/schedule/state.rs b/crates/bevy_ecs/src/schedule/state.rs index d33f0b3ab9..9792f51584 100644 --- a/crates/bevy_ecs/src/schedule/state.rs +++ b/crates/bevy_ecs/src/schedule/state.rs @@ -24,7 +24,7 @@ pub use bevy_ecs_macros::States; /// You can access the current state of type `T` with the [`State`] resource, /// and the queued state with the [`NextState`] resource. /// -/// State transitions typically occur in the [`OnEnter`] and [`OnExit`] schedules, +/// State transitions typically occur in the [`OnEnter`] and [`OnExit`] schedules, /// which can be run via the [`apply_state_transition::`] system. /// /// # Example