Browse Source

[cleanup]

github_actions
daladim 5 years ago
parent
commit
d5932121dd
  1. 2
      src/calendar/remote_calendar.rs
  2. 1
      src/traits.rs
  3. 2
      tests/caldav_client.rs

2
src/calendar/remote_calendar.rs

@ -47,8 +47,6 @@ impl RemoteCalendar {
cached_version_tags: Mutex::new(None),
}
}
}
#[async_trait]

1
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

2
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#"

Loading…
Cancel
Save