From a55d341481295ef58b0bfbd8213b5a5023ae3dec Mon Sep 17 00:00:00 2001 From: Tomato <67799071+100-TomatoJuice@users.noreply.github.com> Date: Fri, 5 Jan 2024 15:45:06 -0700 Subject: [PATCH] Fix doc errors --- src/plugin.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugin.rs b/src/plugin.rs index 140c0c71..a8478886 100644 --- a/src/plugin.rs +++ b/src/plugin.rs @@ -29,7 +29,7 @@ use bevy::ui::UiSystem; /// Each variant represents a "virtual button" whose state is stored in an [`ActionState`] struct. /// /// Each [`InputManagerBundle`](crate::InputManagerBundle) contains: -/// - an [`InputMap`](crate::input_map::InputMap) component, which stores an entity-specific mapping between the assorted input streams and an internal representation of "actions" +/// - an [`InputMap`] component, which stores an entity-specific mapping between the assorted input streams and an internal representation of "actions" /// - an [`ActionState`] component, which stores the current input state for that entity in an source-agnostic fashion /// /// If you have more than one distinct type of action (e.g. menu actions, camera actions and player actions), consider creating multiple `Actionlike` enums @@ -185,7 +185,7 @@ impl Plugin for InputManagerPlugin { } } -/// Controls whether or not the [`ActionState`] / [`InputMap`](crate::input_map::InputMap) pairs of type `A` are active +/// Controls whether or not the [`ActionState`] / [`InputMap`] pairs of type `A` are active /// /// If this resource does not exist, actions work normally, as if `ToggleActions::enabled == true`. #[derive(Resource)]