diff --git a/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/Commands.java b/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/Commands.java index 1c1ccf08ce..737b9cc03c 100644 --- a/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/Commands.java +++ b/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/Commands.java @@ -105,7 +105,7 @@ public final class Commands { } /** - * Constructs a command that does nothing, finishing once a command becomes true. + * Constructs a command that does nothing, finishing once a condition becomes true. * * @param condition the condition * @return the command diff --git a/wpilibNewCommands/src/main/native/include/frc2/command/Commands.h b/wpilibNewCommands/src/main/native/include/frc2/command/Commands.h index 7d5ddd0406..8b38275eba 100644 --- a/wpilibNewCommands/src/main/native/include/frc2/command/Commands.h +++ b/wpilibNewCommands/src/main/native/include/frc2/command/Commands.h @@ -131,7 +131,7 @@ namespace cmd { [[nodiscard]] CommandPtr Wait(units::second_t duration); /** - * Constructs a command that does nothing, finishing once a command becomes + * Constructs a command that does nothing, finishing once a condition becomes * true. * * @param condition the condition