From 3fffc45c7e5977cbe64ffc5f772c37440dd6bbb1 Mon Sep 17 00:00:00 2001 From: Nrot Date: Sun, 21 Nov 2021 02:14:04 +0300 Subject: [PATCH] Update to work code (#241) --- examples/middleware/src/wrap_fn.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/middleware/src/wrap_fn.rs b/examples/middleware/src/wrap_fn.rs index c64ace6..dcc80fd 100644 --- a/examples/middleware/src/wrap_fn.rs +++ b/examples/middleware/src/wrap_fn.rs @@ -1,7 +1,7 @@ #![allow(dead_code, unused_variables)] // -use actix_service::Service; +use actix_web::dev::Service; use actix_web::{web, App}; use futures::future::FutureExt;