mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 02:22:21 +00:00
stores: Switch from dyn to impl and implement Sized
This commit is contained in:
@@ -46,9 +46,9 @@ async fn get_data_stores(
|
||||
migrate: bool,
|
||||
config: &DataStoreConfig,
|
||||
) -> Result<(
|
||||
Arc<dyn AddressbookStore>,
|
||||
Arc<dyn CalendarStore>,
|
||||
Arc<dyn SubscriptionStore>,
|
||||
Arc<impl AddressbookStore>,
|
||||
Arc<impl CalendarStore>,
|
||||
Arc<impl SubscriptionStore>,
|
||||
Receiver<CollectionOperation>,
|
||||
)> {
|
||||
Ok(match &config {
|
||||
|
||||
Reference in New Issue
Block a user