Skip to content

Commit b619a49

Browse files
committed
Fix websockets error
Signed-off-by: John Nunley <[email protected]>
1 parent e28a9c9 commit b619a49

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

axum/src/extract/ws.rs

+1
Original file line numberDiff line numberDiff line change
@@ -845,6 +845,7 @@ mod tests {
845845

846846
use super::*;
847847
use crate::{body::Body, routing::get, test_helpers::spawn_service, Router};
848+
use futures_util::sink::SinkExt;
848849
use http::{Request, Version};
849850
use tokio_tungstenite::tungstenite;
850851
use tower::ServiceExt;

0 commit comments

Comments
 (0)