Fix doctest

This commit is contained in:
Carter Anderson 2024-11-18 15:47:01 -08:00
parent 9126b38363
commit 13ec163369

View file

@ -326,7 +326,7 @@ pub enum ButtonSettingsError {
/// println!("{name}"); /// println!("{name}");
/// ///
/// if gamepad.just_pressed(GamepadButton::North) { /// 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) { /// if let Some(left_stick_x) = gamepad.get(GamepadAxis::LeftStickX) {