add unreachable guard to client loop
This commit is contained in:
1 parent
4c0f571317
commit
daedfe72d0
1 file changed
+2
@@ -29,6 +29,8 @@ async fn main() -> Result<(), IoError> {
|
||||
);
|
||||
println!("Connected to {}", addr);
|
||||
Client::new(ws, global_state).run().await;
|
||||
|
||||
unreachable!();
|
||||
});
|
||||
}
|
||||
Ok(())
|
||||
|
||||
Reference in new issue
Block a user