1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-08-31 10:46:58 +02:00

fix auto-traits for service types (#397)

This commit is contained in:
Ali MJ Al-Nasrawy
2021-12-05 01:30:04 +03:00
committed by GitHub
parent 07e3b19461
commit 62ffe5f389
9 changed files with 56 additions and 17 deletions

View File

@@ -13,7 +13,7 @@ use super::ServiceFactory;
pub struct MapInitErr<A, F, Req, Err> {
a: A,
f: F,
e: PhantomData<(Req, Err)>,
e: PhantomData<fn(Req) -> Err>,
}
impl<A, F, Req, Err> MapInitErr<A, F, Req, Err>