formatting

This commit is contained in:
Lennart
2024-10-27 00:47:57 +02:00
parent 42f2ea6ff9
commit ea4281babd

View File

@@ -28,7 +28,7 @@ impl EventObject {
pub fn get_last_occurence(&self) -> Result<Option<CalDateTime>, Error> { pub fn get_last_occurence(&self) -> Result<Option<CalDateTime>, Error> {
// This is safe since we enforce the event's existence in the constructor // This is safe since we enforce the event's existence in the constructor
if self.event.get_property("RRULE").is_some() { if let Some(_rrule) = self.event.get_property("RRULE") {
// TODO: understand recurrence rules // TODO: understand recurrence rules
return Ok(None); return Ok(None);
} }