diff --git a/crates/bevy_state/src/lib.rs b/crates/bevy_state/src/lib.rs index cdcb37f4ca24d..f25553747552f 100644 --- a/crates/bevy_state/src/lib.rs +++ b/crates/bevy_state/src/lib.rs @@ -6,7 +6,7 @@ //! //! - Standard [`States`](state::States) can only be changed by manually setting the [`NextState`](state::NextState) resource. //! These states are the baseline on which the other state types are built, and can be used on -//! their own for many simple patterns. See the [state example](https://github.com/bevyengine/bevy/blob/latest/examples/state/state.rs) +//! their own for many simple patterns. See the [states example](https://github.com/bevyengine/bevy/blob/latest/examples/state/states.rs) //! for a simple use case. //! - [`SubStates`](state::SubStates) are children of other states - they can be changed manually using [`NextState`](state::NextState), //! but are removed from the [`World`](bevy_ecs::prelude::World) if the source states aren't in the right state. See the [sub_states example](https://github.com/bevyengine/bevy/blob/latest/examples/state/sub_states.rs)