summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNora <nora.widdecke@tu-bs.de>2019-03-26 18:08:48 +0100
committerNora <nora.widdecke@tu-bs.de>2019-03-26 18:08:48 +0100
commit6b4344fceeaa59fc33f9ff002e66cb1f70979683 (patch)
tree938e07d702902ca962b01d7aac73ae3b1ebade82
parentf870a92d3e45fb5f5aedeb1446c6f610c23b938f (diff)
cleanup
-rw-r--r--src/icalwrap/icalvevent.rs1
-rw-r--r--src/khevent.rs2
2 files changed, 0 insertions, 3 deletions
diff --git a/src/icalwrap/icalvevent.rs b/src/icalwrap/icalvevent.rs
index f7cc8c9..1cb9096 100644
--- a/src/icalwrap/icalvevent.rs
+++ b/src/icalwrap/icalvevent.rs
@@ -3,7 +3,6 @@ use std::ffi::CStr;
use super::IcalComponent;
use super::IcalVCalendar;
use super::IcalTime;
-use super::IcalTimeZone;
use super::IcalDuration;
use crate::ical;
diff --git a/src/khevent.rs b/src/khevent.rs
index e4ea55e..0ad7f33 100644
--- a/src/khevent.rs
+++ b/src/khevent.rs
@@ -16,7 +16,6 @@ pub struct KhEvent {
impl KhEvent {
pub fn get_start(&self) -> Option<IcalTime> {
- //TODO: should probably depend on is_recur_master, not the instance timestamp
if self.is_recur_instance() {
self.instance_timestamp.clone()
} else {
@@ -25,7 +24,6 @@ impl KhEvent {
}
pub fn get_end(&self) -> Option<IcalTime> {
- //TODO: should probably depend on is_recur_master, not the instance timestamp
if self.is_recur_instance() {
let dur = self.get_duration().unwrap();
let dtend = self.instance_timestamp.clone().unwrap() + dur;