From af7c4116c65033bfacd137dad0b081c4e0553c8b Mon Sep 17 00:00:00 2001 From: bitfl0wer Date: Mon, 20 Nov 2023 00:25:18 +0100 Subject: [PATCH] fix clippy warn --- examples/gateway_simple.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/gateway_simple.rs b/examples/gateway_simple.rs index acb4eb3..2996283 100644 --- a/examples/gateway_simple.rs +++ b/examples/gateway_simple.rs @@ -10,7 +10,7 @@ async fn main() { let websocket_url_spacebar = "wss://gateway.old.server.spacebar.chat/".to_string(); // Initiate the gateway connection, starting a listener in one thread and a heartbeat handler in another - let gateway = Gateway::spawn(websocket_url_spacebar).await.unwrap(); + let _ = Gateway::spawn(websocket_url_spacebar).await.unwrap(); // At this point, we are connected to the server and are sending heartbeats, however we still haven't authenticated