Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
javdl committed Jan 7, 2025
1 parent 2a03833 commit 1c9bc3a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -626,9 +626,7 @@ async fn export_exchange_rates_csv(fmp_client: &api::FMPClient) -> Result<()> {

writer.write_record(&[
rate.name.as_deref().unwrap_or(""),
&rate
.price
.map_or_else(|| "".to_string(), |v| v.to_string()),
&rate.price.map_or_else(|| "".to_string(), |v| v.to_string()),
&rate
.changes_percentage
.map_or_else(|| "".to_string(), |v| v.to_string()),
Expand Down

0 comments on commit 1c9bc3a

Please sign in to comment.