Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
FroVolod committed Sep 26, 2023
1 parent 8be0e16 commit 232bb93
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/commands/contract/call_function/as_transaction/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ impl PrepaidGasContext {
receiver_account_id: previous_context.receiver_account_id,
function_name: previous_context.function_name,
function_args: previous_context.function_args,
gas: scope.gas.clone(),
gas: scope.gas,
})
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ impl PrepaidGasContext {
code: previous_context.code,
function_name: previous_context.function_name,
function_args: previous_context.function_args,
gas: scope.gas.clone(),
gas: scope.gas,
})
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/commands/tokens/send_ft/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ impl SendFtCommandContext {
ft_contract_account_id: scope.ft_contract_account_id.clone().into(),
receiver_account_id: scope.receiver_account_id.clone().into(),
amount: scope.amount,
gas: scope.gas.clone(),
gas: scope.gas,
deposit: scope.deposit.clone(),
})
}
Expand Down
2 changes: 1 addition & 1 deletion src/commands/tokens/send_nft/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ impl SendNftCommandContext {
nft_contract_account_id: scope.nft_contract_account_id.clone().into(),
receiver_account_id: scope.receiver_account_id.clone().into(),
token_id: scope.token_id.clone(),
gas: scope.gas.clone(),
gas: scope.gas,
deposit: scope.deposit.clone(),
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ impl PrepaidGasContext {
actions: previous_context.actions,
function_name: previous_context.function_name,
function_args: previous_context.function_args,
gas: scope.gas.clone(),
gas: scope.gas,
})
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ impl PrepaidGasContext {
actions: previous_context.actions,
function_name: previous_context.function_name,
function_args: previous_context.function_args,
gas: scope.gas.clone(),
gas: scope.gas,
})
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ impl PrepaidGasContext {
actions: previous_context.actions,
function_name: previous_context.function_name,
function_args: previous_context.function_args,
gas: scope.gas.clone(),
gas: scope.gas,
})
}
}
Expand Down

0 comments on commit 232bb93

Please sign in to comment.