mirror of
https://github.com/bevyengine/bevy
synced 2024-11-21 20:23:28 +00:00
Fix doctest
This commit is contained in:
parent
9126b38363
commit
13ec163369
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue