Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
Signed-off-by: Jade Turner <[email protected]>
  • Loading branch information
spacey-sooty committed Dec 15, 2024
1 parent 2613107 commit 5d27b33
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ private void initCommand(Command command, Set<Subsystem> requirements) {
* using those requirements have been scheduled as interruptible. If this is the case, they will
* be interrupted and the command will be scheduled.
*
* <p>WARNING: using this function directly is often a footgun and should be avoided. Instead
* <p>WARNING: using this function directly is often can lead to unexpected behavior and should be avoided. Instead
* Triggers should be used to schedule Commands.
*
* @param command the command to schedule. If null, no-op.
Expand Down Expand Up @@ -233,7 +233,7 @@ private void schedule(Command command) {
/**
* Schedules multiple commands for execution. Does nothing for commands already scheduled.
*
* <p>WARNING: using this function directly is often a footgun and should be avoided. Instead
* <p>WARNING: using this function directly is often can lead to unexpected behavior and should be avoided. Instead
* Triggers should be used to schedule Commands.
*
* @param commands the commands to schedule. No-op on null.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class CommandScheduler final : public wpi::Sendable,
* interruptible. If this is the case, they will be interrupted and the
* command will be scheduled.
*
* @warning Using this function directly is often a footgun and should be
* @warning Using this function directly is often can lead to unexpected behavior and should be
* avoided. Instead Triggers should be used to schedule Commands.
*
* @param command the command to schedule
Expand All @@ -115,7 +115,7 @@ class CommandScheduler final : public wpi::Sendable,
*
* The pointer must remain valid through the entire lifecycle of the command.
*
* @warning Using this function directly is often a footgun and should be
* @warning Using this function directly is often can lead to unexpected behavior and should be
* avoided. Instead Triggers should be used to schedule Commands.
*
* @param command the command to schedule
Expand All @@ -126,7 +126,7 @@ class CommandScheduler final : public wpi::Sendable,
* Schedules multiple commands for execution. Does nothing for commands
* already scheduled.
*
* @warning Using this function directly is often a footgun and should be
* @warning Using this function directly is often can lead to unexpected behavior and should be
* avoided. Instead Triggers should be used to schedule Commands.
*
* @param commands the commands to schedule
Expand All @@ -137,7 +137,7 @@ class CommandScheduler final : public wpi::Sendable,
* Schedules multiple commands for execution. Does nothing for commands
* already scheduled.
*
* @warning Using this function directly is often a footgun and should be
* @warning Using this function directly is often can lead to unexpected behavior and should be
* avoided. Instead Triggers should be used to schedule Commands.
*
* @param commands the commands to schedule
Expand Down

0 comments on commit 5d27b33

Please sign in to comment.