diff --git a/src/connect.rs b/src/connect.rs index f8797d99..989349a9 100644 --- a/src/connect.rs +++ b/src/connect.rs @@ -18,7 +18,7 @@ use crate::{domain, stream::MaybeTlsStream, Connector, IntoClientRequest, WebSoc /// ```no_run /// # use tungstenite::client::IntoClientRequest; /// -/// # async fn main() { +/// # async fn test() { /// use tungstenite::http::{Method, Request}; /// use tokio_tungstenite::connect_async; ///