From 504389298189ca9925d07151a8cfde3c3d439d35 Mon Sep 17 00:00:00 2001 From: asonix Date: Mon, 21 Nov 2022 11:28:25 -0600 Subject: [PATCH] Fix compile issue --- src/middleware/timings.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/middleware/timings.rs b/src/middleware/timings.rs index dd8e714..705e74e 100644 --- a/src/middleware/timings.rs +++ b/src/middleware/timings.rs @@ -27,9 +27,9 @@ impl Drop for LogOnDrop { } } -impl Transform for Timings +impl Transform for Timings where - S: Service, + S: Service, Error = actix_web::Error>, S::Future: 'static, { type Response = S::Response; @@ -43,9 +43,9 @@ where } } -impl Service for TimingsMiddleware +impl Service for TimingsMiddleware where - S: Service, + S: Service, Error = actix_web::Error>, S::Future: 'static, { type Response = S::Response;