cargo clippy

This commit is contained in:
Dongri Jin
2025-07-10 16:10:45 +09:00
parent 65c49a6fdf
commit bb59b45eff
5 changed files with 45 additions and 52 deletions

View File

@ -86,7 +86,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
let coin = c.coin;
if name == "get_coin_price" {
let price = get_coin_price(&coin);
println!("{} price: {}", coin, price);
println!("{coin} price: {price}");
}
}
}