More Results in traits
This commit is contained in:
parent
def17b6218
commit
cbffef8b97
3 changed files with 7 additions and 7 deletions
|
@ -97,8 +97,8 @@ impl PartialCalendar for CachedCalendar {
|
|||
Ok(map)
|
||||
}
|
||||
|
||||
async fn get_item_ids(&mut self) -> HashSet<ItemId> {
|
||||
self.items.keys().cloned().collect()
|
||||
async fn get_item_ids(&self) -> Result<HashSet<ItemId>, Box<dyn Error>> {
|
||||
Ok(self.items.keys().cloned().collect())
|
||||
}
|
||||
|
||||
async fn get_item_by_id_mut<'a>(&'a mut self, id: &ItemId) -> Option<&'a mut Item> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue