1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-23 15:51:06 +01:00

test: fix doc test

This commit is contained in:
Rob Ede 2024-03-02 21:46:36 +00:00
parent db2193b8c5
commit 39291c86b7
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933

View File

@ -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<HttpResponse, Error> {
/// let (response, mut session, mut msg_stream) = actix_ws::handle(&req, body)?;