From 39291c86b7aac722b73a4e6a47734cf3a07a5ebe Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Sat, 2 Mar 2024 21:46:36 +0000 Subject: [PATCH] test: fix doc test --- actix-ws/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actix-ws/src/lib.rs b/actix-ws/src/lib.rs index 20cc016a7..00dd20f39 100644 --- a/actix-ws/src/lib.rs +++ b/actix-ws/src/lib.rs @@ -29,7 +29,7 @@ pub use self::{ /// ```no_run /// use actix_web::{middleware::Logger, web, App, Error, HttpRequest, HttpResponse, HttpServer}; /// use actix_ws::Message; -/// use futures::stream::StreamExt as _; +/// use futures_util::StreamExt as _; /// /// async fn ws(req: HttpRequest, body: web::Payload) -> Result { /// let (response, mut session, mut msg_stream) = actix_ws::handle(&req, body)?;