Browse Source

cleanup

github_actions
daladim 5 years ago
parent
commit
751a98d281
  1. 10
      src/event.rs

10
src/event.rs

@ -17,15 +17,7 @@ pub struct Event {
impl Event { impl Event {
pub fn new() -> Self { pub fn new() -> Self {
let version_tag = VersionTag::from(String::from("not-implemented")); unimplemented!();
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
}
} }
pub fn id(&self) -> &ItemId { pub fn id(&self) -> &ItemId {

Loading…
Cancel
Save