Skip to content

Commit b0d7fa6

Browse files
authored
Update mod.rs fix tokio-tungstenite with ver 0.23
1 parent 8f9bec2 commit b0d7fa6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/dealer/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ async fn connect(
409409

410410
let stream = socket::connect(host, port, proxy).await?;
411411

412-
let (mut ws_tx, ws_rx) = tokio_tungstenite::client_async_tls(address, stream)
412+
let (mut ws_tx, ws_rx) = tokio_tungstenite::client_async_tls(address.as_str(), stream)
413413
.await?
414414
.0
415415
.split();

0 commit comments

Comments
 (0)