[cleanup]

This commit is contained in:
daladim 2021-03-18 23:52:01 +01:00
parent 9c17f07660
commit d07a2b9493

View file

@ -17,11 +17,6 @@ pub trait CalDavSource<T: PartialCalendar> {
/// This function may trigger an update (that can be a long process, or that can even fail, e.g. in case of a remote server)
async fn get_calendars_mut(&mut self) -> Result<HashMap<CalendarId, &mut T>, Box<dyn Error>>;
//
//
// TODO: find a better search key (do calendars have a unique ID?)
// TODO: search key should be a reference
//
/// Returns the calendar matching the ID
async fn get_calendar(&self, id: CalendarId) -> Option<&T>;
/// Returns the calendar matching the ID