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