diff options
| author | Pinapelz <yukais@pinapelz.com> | 2024-08-26 20:30:10 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2024-08-26 20:30:10 -0700 |
| commit | fd2e661ac3c1094416200a2fc5b0872474427628 (patch) | |
| tree | d894b15d5d9907e2e3774a9d502dca2750a00ede /src | |
| parent | d60a545cb346d381905f731670f74b22faf4dc6b (diff) | |
remove unnecessary parentheses in eorzean_weather
Diffstat (limited to 'src')
| -rw-r--r-- | src/eorzean_weather.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<T: ToUnixTimestamp>(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); } |
