Skip to content

Commit 85b95e8

Browse files
committed
Fixed format
1 parent 8d973ec commit 85b95e8

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

src/worker/network.rs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,10 @@ impl NetworkWorker {
5555
Err(e) if e.kind() == std::io::ErrorKind::AddrInUse => {
5656
retries += 1;
5757
if retries > MAX_BIND_RETRIES {
58-
return Err(WorkerError::InternalWithMessage(
59-
format!(
60-
"Failed to bind {}:{} after {} retries: {}",
61-
addr, target_port, MAX_BIND_RETRIES, e
62-
),
63-
));
58+
return Err(WorkerError::InternalWithMessage(format!(
59+
"Failed to bind {}:{} after {} retries: {}",
60+
addr, target_port, MAX_BIND_RETRIES, e
61+
)));
6462
}
6563
thread::sleep(std::time::Duration::from_secs(1));
6664
}

0 commit comments

Comments
 (0)