diff options
Diffstat (limited to 'src/icalwrap/icalvevent.rs')
-rw-r--r-- | src/icalwrap/icalvevent.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/icalwrap/icalvevent.rs b/src/icalwrap/icalvevent.rs index 37b237b..9809dac 100644 --- a/src/icalwrap/icalvevent.rs +++ b/src/icalwrap/icalvevent.rs @@ -128,11 +128,11 @@ impl IcalVEvent { pub fn is_recur_valid(&self) -> bool { if self.is_recur_master() { - return true; + true } else if self.is_recur() { let timestamp = self.instance_timestamp.unwrap(); let recur_times = self.get_recur_datetimes(); - return recur_times.contains(×tamp.with_timezone(&Utc)); + recur_times.contains(×tamp.with_timezone(&Utc)) } else { self.instance_timestamp.is_none() } |