Skip to content

Commit

Permalink
[commands] Fix docs inconsistency for toggleOnFalse(Command) (NFC) (w…
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyxiad authored and Starlight220 committed Mar 2, 2023
1 parent 60da812 commit daeb19d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ public void run() {
}

/**
* Toggles a command when the condition changes from `true` to the low state.
* Toggles a command when the condition changes from `true` to `false`.
*
* @param command the command to toggle
* @return this trigger, so calls can be chained
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,7 @@ class Trigger {
Trigger ToggleOnFalse(Command* command);

/**
* Toggles a command when the condition changes from `true` to the low
* state.
* Toggles a command when the condition changes from `true` to `false`.
*
* <p>Takes a raw pointer, and so is non-owning; users are responsible for the
* lifespan of the command.
Expand Down

0 comments on commit daeb19d

Please sign in to comment.