Skip to content

Commit

Permalink
address clippy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
epanchee committed Sep 18, 2023
1 parent 49a0ab9 commit 57f383f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/pair_pcl/src/sudo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ fn swap_exact_amount_out(
token_in_max_amount: Uint128,
token_out: Coin,
) -> Result<Response, ContractError> {
if &token_in_denom == &token_out.denom {
if token_in_denom == token_out.denom {
return Err(StdError::generic_err(format!(
"Invalid swap: {token_in_denom} to {token_in_denom}"
))
Expand Down

0 comments on commit 57f383f

Please sign in to comment.