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;