Format & Data

This commit is contained in:
Alex Emmet 2026-01-07 15:54:16 +01:00
commit e0dfee6cc2
3 changed files with 355 additions and 408 deletions

View file

@ -286,7 +286,7 @@ impl OmegaConnection {
let mut guard = self.read.write().await;
let ws = match guard.as_mut() {
Some(ws) => ws,
None => break,
_ => break,
};
ws.next().await
};
@ -315,6 +315,7 @@ impl OmegaConnection {
}
}
}
#[allow(non_snake_case)]
Some(Ok(Message::Close(_))) | None => break,
Some(Err(_)) => break,
_ => {}