1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-09-02 07:16:37 +02:00

remove unneeded phantom data

This commit is contained in:
Nikolay Kim
2018-09-06 18:03:01 -07:00
parent 0525da70bf
commit d917b47868
3 changed files with 11 additions and 41 deletions

View File

@@ -7,7 +7,7 @@ use {IntoNewService, NewService, Service};
pub struct Apply<T, F, R, Req> {
service: T,
f: F,
r: PhantomData<Fn(Req) -> R>,
r: PhantomData<(Req, R)>,
}
impl<T, F, R, Req> Apply<T, F, R, Req>