Cleaner comparisons

This commit is contained in:
daladim 2021-04-03 17:42:55 +02:00
parent 751a98d281
commit f760176435
5 changed files with 46 additions and 11 deletions

View file

@ -4,7 +4,6 @@ use serde::{Deserialize, Serialize};
use crate::item::ItemId;
use crate::item::SyncStatus;
use crate::item::VersionTag;
/// TODO: implement Event one day.
/// This crate currently only supports tasks, not calendar events.
@ -34,4 +33,8 @@ impl Event {
pub fn set_sync_status(&mut self, new_status: SyncStatus) {
self.sync_status = new_status;
}
pub fn has_same_observable_content(&self, _other: &Event) -> bool {
unimplemented!();
}
}