Skip to content

Commit

Permalink
🎨 remove obsolete .to_string() call
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Oct 25, 2024
1 parent 52417b1 commit 1cf462b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async fn run(params: &Params) -> Result<Product> {
Weather::get_dates(&params.historical_weather, loc.lat, loc.lon, &params.config.units).await?;

Ok(Product {
address: loc.name.to_string(),
address: loc.name,
weather,
historical_weather,
})
Expand Down

0 comments on commit 1cf462b

Please sign in to comment.