1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-28 18:00:37 +02:00

split -server and -tls msrv and raise to 1.52 (#398)

This commit is contained in:
Rob Ede
2021-10-19 14:53:42 +01:00
committed by GitHub
parent 00775884f8
commit ca77d8d835
13 changed files with 107 additions and 34 deletions

View File

@ -52,9 +52,9 @@ pub fn fn_factory<F, Cfg, Srv, Req, Fut, Err>(
f: F,
) -> FnServiceNoConfig<F, Cfg, Srv, Req, Fut, Err>
where
Srv: Service<Req>,
F: Fn() -> Fut,
Fut: Future<Output = Result<Srv, Err>>,
Srv: Service<Req>,
{
FnServiceNoConfig::new(f)
}