diff --git a/src/calendar/remote_calendar.rs b/src/calendar/remote_calendar.rs index 6e8ec51..fbaa860 100644 --- a/src/calendar/remote_calendar.rs +++ b/src/calendar/remote_calendar.rs @@ -47,8 +47,6 @@ impl RemoteCalendar { cached_version_tags: Mutex::new(None), } } - - } #[async_trait] diff --git a/src/traits.rs b/src/traits.rs index 1942a70..5ba0600 100644 --- a/src/traits.rs +++ b/src/traits.rs @@ -75,6 +75,7 @@ pub trait DavCalendar : BaseCalendar { /// Usually, these are local calendars fully backed by a local folder #[async_trait] pub trait CompleteCalendar : BaseCalendar { + /// Create a new calendar fn new(name: String, id: CalendarId, supported_components: SupportedComponents) -> Self; /// Get the IDs of all current items in this calendar diff --git a/tests/caldav_client.rs b/tests/caldav_client.rs index ef6f21b..5a8aab5 100644 --- a/tests/caldav_client.rs +++ b/tests/caldav_client.rs @@ -14,8 +14,6 @@ use my_tasks::settings::USERNAME; use my_tasks::settings::PASSWORD; use my_tasks::settings::EXAMPLE_TASK_URL; use my_tasks::settings::EXAMPLE_CALENDAR_URL; -use my_tasks::ItemId; -use my_tasks::traits::DavCalendar; static EXAMPLE_TASKS_BODY_LAST_MODIFIED: &str = r#"