Skip to content

Commit

Permalink
fix: cargo fmt
Browse files Browse the repository at this point in the history
Signed-off-by: Smuu <[email protected]>
  • Loading branch information
smuu committed Jan 1, 2025
1 parent 4f2c1e7 commit bf9a873
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pumpkin/src/command/commands/cmd_deop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ impl CommandExecutor for DeopExecutor {
let mut config = OPERATOR_CONFIG.write().await;

let Some(Arg::Players(targets)) = args.get(&ARG_TARGET) else {
return Err(InvalidConsumption(Some(ARG_TARGET.into())))
return Err(InvalidConsumption(Some(ARG_TARGET.into())));
};

// from the command tree, the command can only be executed with one player
Expand Down
2 changes: 1 addition & 1 deletion pumpkin/src/command/commands/cmd_op.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ impl CommandExecutor for OpExecutor {
let mut config = OPERATOR_CONFIG.write().await;

let Some(Arg::Players(targets)) = args.get(&ARG_TARGET) else {
return Err(InvalidConsumption(Some(ARG_TARGET.into())))
return Err(InvalidConsumption(Some(ARG_TARGET.into())));
};

// from the command tree, the command can only be executed with one player
Expand Down

0 comments on commit bf9a873

Please sign in to comment.