diff --git a/crates/bevy_state/src/commands.rs b/crates/bevy_state/src/commands.rs index 38addffcff4f9..5483809cdac46 100644 --- a/crates/bevy_state/src/commands.rs +++ b/crates/bevy_state/src/commands.rs @@ -3,7 +3,7 @@ use bevy_utils::tracing::debug; use crate::state::{FreelyMutableState, NextState}; -/// Extension trait for [`Commands`](bevy_ecs::prelude::Commands) adding `bevy_state` helpers. +/// Extension trait for [`Commands`] adding `bevy_state` helpers. pub trait CommandsStatesExt { /// Sets the next state the app should move to. /// diff --git a/crates/bevy_state/src/lib.rs b/crates/bevy_state/src/lib.rs index 5356560579460..5e18ab7cdcf29 100644 --- a/crates/bevy_state/src/lib.rs +++ b/crates/bevy_state/src/lib.rs @@ -34,7 +34,7 @@ #[cfg(feature = "bevy_app")] /// Provides [`App`](bevy_app::App) and [`SubApp`](bevy_app::SubApp) with state installation methods pub mod app; -/// Provides extension methods for [`Commands`](bevy_ecs::Commands). +/// Provides extension methods for [`Commands`](bevy_ecs::prelude::Commands). pub mod commands; /// Provides definitions for the runtime conditions that interact with the state system pub mod condition;