mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 11:42:25 +00:00
fix typo
This commit is contained in:
@@ -100,7 +100,7 @@ impl Event {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn get_last_occurence(&self) -> Result<NaiveDateTime> {
|
pub fn get_last_occurence(&self) -> Result<NaiveDateTime> {
|
||||||
// This is safe since we enforce the event's existance in the constructor
|
// This is safe since we enforce the event's existence in the constructor
|
||||||
let event = self.cal.events.first().unwrap();
|
let event = self.cal.events.first().unwrap();
|
||||||
|
|
||||||
if event.get_property("RRULE").is_some() {
|
if event.get_property("RRULE").is_some() {
|
||||||
|
|||||||
Reference in New Issue
Block a user