From 751a98d281a3773372b05138dfd29443ce6983a6 Mon Sep 17 00:00:00 2001 From: daladim Date: Sat, 3 Apr 2021 17:41:25 +0200 Subject: [PATCH] cleanup --- src/event.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/event.rs b/src/event.rs index d20afa3..c3367f9 100644 --- a/src/event.rs +++ b/src/event.rs @@ -17,15 +17,7 @@ pub struct Event { impl Event { pub fn new() -> Self { - let version_tag = VersionTag::from(String::from("not-implemented")); - let sync_status = SyncStatus::Synced(version_tag); - let id: ItemId = "http://not.imp/lemented".parse().unwrap(); - - Self { - id, - name: String::from("Events are not supported (yet?)"), - sync_status - } + unimplemented!(); } pub fn id(&self) -> &ItemId {