From fd2e661ac3c1094416200a2fc5b0872474427628 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Mon, 26 Aug 2024 20:30:10 -0700 Subject: remove unnecessary parentheses in eorzean_weather --- src/eorzean_weather.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eorzean_weather.rs b/src/eorzean_weather.rs index 4db4cb2..919cf78 100644 --- a/src/eorzean_weather.rs +++ b/src/eorzean_weather.rs @@ -252,7 +252,7 @@ pub fn find_next_weather_occurance(zone_name: &str, current_ let current_epoch = current_time.to_unix_timestamp(); let mut current_interval = 1; let mut next_weather = calculate_forecast(zone_name, current_epoch, current_interval); - while (next_weather.weather != target_weather) { + while next_weather.weather != target_weather { current_interval += 1; next_weather = calculate_forecast(zone_name, current_epoch, current_interval); } -- cgit v1.2.3