refactor(simulation): apply rustfmt formatting
Formatting-only changes across server source and test files. No logic changes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -46,9 +46,9 @@ impl TcpBridge {
|
||||
|
||||
// Set non-blocking so receive_inputs doesn't stall the game loop.
|
||||
// read_framed handles WouldBlock by returning Ok(None).
|
||||
stream.set_nonblocking(true).map_err(|e| {
|
||||
BridgeError::Transport(format!("failed to set non-blocking: {}", e))
|
||||
})?;
|
||||
stream
|
||||
.set_nonblocking(true)
|
||||
.map_err(|e| BridgeError::Transport(format!("failed to set non-blocking: {}", e)))?;
|
||||
|
||||
// Clone stream for reader and writer
|
||||
let reader_stream = stream.try_clone().map_err(|e| {
|
||||
@@ -81,9 +81,9 @@ impl TcpBridge {
|
||||
local_addr
|
||||
);
|
||||
|
||||
stream.set_nonblocking(true).map_err(|e| {
|
||||
BridgeError::Transport(format!("failed to set non-blocking: {}", e))
|
||||
})?;
|
||||
stream
|
||||
.set_nonblocking(true)
|
||||
.map_err(|e| BridgeError::Transport(format!("failed to set non-blocking: {}", e)))?;
|
||||
|
||||
let reader_stream = stream.try_clone().map_err(|e| {
|
||||
BridgeError::Transport(format!("failed to clone stream for reader: {}", e))
|
||||
|
||||
Reference in New Issue
Block a user