From daedfe72d083b402a5801e642c7f969d65a03b89 Mon Sep 17 00:00:00 2001 From: Dane Johnson Date: Wed, 12 Oct 2022 12:51:16 -0500 Subject: [PATCH] add unreachable guard to client loop --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index 977708c..a5d3a7e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -29,6 +29,8 @@ async fn main() -> Result<(), IoError> { ); println!("Connected to {}", addr); Client::new(ws, global_state).run().await; + + unreachable!(); }); } Ok(())