mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 22:52:22 +00:00
formatting
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user