2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-12-24 18:03:37 +00:00

Add explicit static bound required by 1.74

This commit is contained in:
asonix 2023-12-05 13:05:50 -06:00
parent 30e99f3090
commit ea1cd5b0f2

View file

@ -1269,7 +1269,10 @@ where
});
}
async fn launch_file_store<R: FullRepo + 'static, F: Fn(&mut web::ServiceConfig) + Send + Clone>(
async fn launch_file_store<
R: FullRepo + 'static,
F: Fn(&mut web::ServiceConfig) + Send + Clone + 'static,
>(
repo: R,
store: FileStore,
client: ClientWithMiddleware,
@ -1296,7 +1299,7 @@ async fn launch_file_store<R: FullRepo + 'static, F: Fn(&mut web::ServiceConfig)
async fn launch_object_store<
R: FullRepo + 'static,
F: Fn(&mut web::ServiceConfig) + Send + Clone,
F: Fn(&mut web::ServiceConfig) + Send + Clone + 'static,
>(
repo: R,
store_config: ObjectStoreConfig,