cleanup
This commit is contained in:
+1
-9
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user