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) {