From 5f78b21c2603e301437e58bf20c09fa0547543a8 Mon Sep 17 00:00:00 2001 From: Ali MJ Al-Nasrawy Date: Wed, 20 Oct 2021 19:09:12 +0300 Subject: [PATCH] more variance --- actix-service/src/apply.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/actix-service/src/apply.rs b/actix-service/src/apply.rs index e03541a1..c77f4242 100644 --- a/actix-service/src/apply.rs +++ b/actix-service/src/apply.rs @@ -51,7 +51,7 @@ where { service: S, wrap_fn: F, - _phantom: PhantomData (Req, In, Res, Err)>, + _phantom: PhantomData (In, Res, Err)>, } impl Apply @@ -106,7 +106,7 @@ where pub struct ApplyFactory { factory: SF, wrap_fn: F, - _phantom: PhantomData (Req, In, Res, Err)>, + _phantom: PhantomData (In, Res, Err)>, } impl ApplyFactory @@ -171,7 +171,7 @@ pin_project! { #[pin] fut: SF::Future, wrap_fn: Option, - _phantom: PhantomData(Req, Res)>, + _phantom: PhantomData Res>, } }