diff --git a/src/lib.rs b/src/lib.rs index 98bc646..baf610c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -104,7 +104,7 @@ impl + Send + Sync + 'static> MitmProxy { pub fn wrap_service( proxy: Arc, service: S, - ) -> impl HttpService, Error = E, Future: Send> + ) -> impl HttpService, Future: Send> where S: HttpService + Send + Clone + 'static, B::Data: Send + 'static,