Skip to content

Commit

Permalink
fix a clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
larry0x committed May 20, 2023
1 parent 2feebc6 commit d0e8794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/price.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub async fn query_prices() -> Result<Prices> {
.iter()
.find(|asset| asset.coingecko_id == coingecko_id)
.ok_or_else(|| Error::AssetNotFound {
denom_or_id: coingecko_id.into(),
denom_or_id: coingecko_id,
})?;

let price = prices_by_currency
Expand Down

0 comments on commit d0e8794

Please sign in to comment.