Skip to content

Commit

Permalink
chore: fmt + clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
mattyg committed Jan 30, 2024
1 parent 058b77e commit 891ded7
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion crates/cli/src/commands/order/detail.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use tracing::info;

#[derive(Args, Clone)]
pub struct CliOrderDetailArgs {
#[arg(short='i', long, help = "ID of the Order")]
#[arg(short = 'i', long, help = "ID of the Order")]
order_id: String,

#[clap(flatten)]
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/src/commands/order/remove.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use rain_orderbook_common::transaction::TransactionArgs;

#[derive(Args, Clone)]
pub struct CliOrderRemoveArgs {
#[arg(short='i', long, help = "ID of the Order")]
#[arg(short = 'i', long, help = "ID of the Order")]
order_id: String,

#[clap(flatten)]
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/src/commands/vault/deposit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use rain_orderbook_common::{deposit::DepositArgs, transaction::TransactionArgs};

#[derive(Args, Clone)]
pub struct CliVaultDepositArgs {
#[arg(short='i', long, help = "The ID of the vault")]
#[arg(short = 'i', long, help = "The ID of the vault")]
vault_id: U256,

#[arg(short, long, help = "The token address in hex format")]
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/src/commands/vault/detail.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use tracing::info;

#[derive(Args, Clone)]
pub struct CliVaultDetailArgs {
#[arg(short='i', long, help = "ID of the Vault")]
#[arg(short = 'i', long, help = "ID of the Vault")]
vault_id: String,

#[clap(flatten)]
Expand Down
4 changes: 2 additions & 2 deletions crates/cli/src/commands/vault/withdraw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ use rain_orderbook_common::withdraw::WithdrawArgs;

#[derive(Args, Clone)]
pub struct CliVaultWithdrawArgs {
#[arg(short='i', long, help = "The ID of the vault")]
#[arg(short = 'i', long, help = "The ID of the vault")]
vault_id: U256,

#[arg(short, long, help = "The token address in hex format")]
token: Address,

Expand Down

0 comments on commit 891ded7

Please sign in to comment.