mirror of
https://github.com/htrefil/rkvm.git
synced 2025-02-05 20:46:13 +01:00
Remove redundant type
This commit is contained in:
parent
fa776c567c
commit
169da10ead
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ async fn run(server: &str, port: u16) -> Result<Infallible, Error> {
|
|||
|
||||
let mut writer = EventWriter::new().await?;
|
||||
loop {
|
||||
let message: Message = net::read_message(&mut stream).await?;
|
||||
let message = net::read_message(&mut stream).await?;
|
||||
match message {
|
||||
Message::Event(event) => writer.write(event).await?,
|
||||
Message::KeepAlive => {}
|
||||
|
|
Loading…
Add table
Reference in a new issue