mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[commands] Fix docs inconsistency for toggleOnFalse(Command) (NFC) (#4978)
This commit is contained in:
@@ -205,7 +205,7 @@ public class Trigger implements BooleanSupplier {
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user