aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/eorzean_weather.rs2
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);
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage