From 13ec1633694a8899724cab66a929b96506edcc0d Mon Sep 17 00:00:00 2001 From: Carter Anderson Date: Mon, 18 Nov 2024 15:47:01 -0800 Subject: [PATCH] Fix doctest --- crates/bevy_input/src/gamepad.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_input/src/gamepad.rs b/crates/bevy_input/src/gamepad.rs index 663a0fa3e7..5493103a61 100644 --- a/crates/bevy_input/src/gamepad.rs +++ b/crates/bevy_input/src/gamepad.rs @@ -326,7 +326,7 @@ pub enum ButtonSettingsError { /// println!("{name}"); /// /// if gamepad.just_pressed(GamepadButton::North) { -/// println!("{} just pressed North", gamepad.name()) +/// println!("{} just pressed North", name) /// } /// /// if let Some(left_stick_x) = gamepad.get(GamepadAxis::LeftStickX) {