cleanup
This commit is contained in:
parent
6c9d7b4ed4
commit
751a98d281
1 changed files with 1 additions and 9 deletions
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…
Add table
Reference in a new issue