Skip to content

Commit d422f07

Browse files
Fix grammatical mistake in binding-commands-to-triggers.rst (#2169)
`an` where it should have been `a`
1 parent b083b35 commit d422f07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/docs/software/commandbased/binding-commands-to-triggers.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ The command-based HID classes contain factory methods returning a ``Trigger`` fo
2121

2222
.. code-tab:: java
2323

24-
CommandXboxController exampleCommandController = new CommandXboxController(1); // Creates an CommandXboxController on port 1.
24+
CommandXboxController exampleCommandController = new CommandXboxController(1); // Creates a CommandXboxController on port 1.
2525
Trigger xButton = exampleCommandController.x(); // Creates a new Trigger object for the `X` button on exampleCommandController
2626

2727
.. code-tab:: c++
2828

29-
frc2::CommandXboxController exampleCommandController{1} // Creates an CommandXboxController on port 1
29+
frc2::CommandXboxController exampleCommandController{1} // Creates a CommandXboxController on port 1
3030
frc2::Trigger xButton = exampleCommandController.X() // Creates a new Trigger object for the `X` button on exampleCommandController
3131

3232
JoystickButton

0 commit comments

Comments
 (0)