Changed an argument to a reference
This commit is contained in:
parent
f29aca941b
commit
bb2122db6b
5 changed files with 8 additions and 8 deletions
|
@ -15,7 +15,7 @@ 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(&self) -> Result<HashMap<CalendarId, Arc<Mutex<T>>>, Box<dyn Error>>;
|
||||
/// Returns the calendar matching the ID
|
||||
async fn get_calendar(&self, id: CalendarId) -> Option<Arc<Mutex<T>>>;
|
||||
async fn get_calendar(&self, id: &CalendarId) -> Option<Arc<Mutex<T>>>;
|
||||
}
|
||||
|
||||
pub trait SyncSlave {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue