From 096ac9f06f3af83e8a43940307a172b0f5d235d8 Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Thu, 18 Apr 2024 10:44:14 +0200 Subject: [PATCH] Fix doclink --- ewebsock/src/native_tungstenite_tokio.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ewebsock/src/native_tungstenite_tokio.rs b/ewebsock/src/native_tungstenite_tokio.rs index f6afa3d..29b3e50 100644 --- a/ewebsock/src/native_tungstenite_tokio.rs +++ b/ewebsock/src/native_tungstenite_tokio.rs @@ -127,7 +127,7 @@ pub(crate) fn ws_connect_impl( Ok(ws_connect_native(url, options, on_event)) } -/// Like [`ws_connect`], but cannot fail. Only available on native builds. +/// Like [`crate::ws_connect`], but cannot fail. Only available on native builds. fn ws_connect_native(url: String, options: Options, on_event: EventHandler) -> WsSender { let (tx, mut rx) = tokio::sync::mpsc::channel(1000);