mirror of
https://github.com/fafhrd91/actix-net
synced 2025-08-30 21:20:19 +02:00
refactor: inline format args
This commit is contained in:
@@ -115,7 +115,7 @@ impl Arbiter {
|
||||
let system_id = sys.id();
|
||||
let arb_id = COUNT.fetch_add(1, Ordering::Relaxed);
|
||||
|
||||
let name = format!("actix-rt|system:{}|arbiter:{}", system_id, arb_id);
|
||||
let name = format!("actix-rt|system:{system_id}|arbiter:{arb_id}");
|
||||
let (tx, rx) = mpsc::unbounded_channel();
|
||||
|
||||
let (ready_tx, ready_rx) = std::sync::mpsc::channel::<()>();
|
||||
|
@@ -187,7 +187,7 @@ impl SystemRunner {
|
||||
|
||||
match exit_code {
|
||||
0 => Ok(()),
|
||||
nonzero => Err(io::Error::other(format!("Non-zero exit code: {}", nonzero))),
|
||||
nonzero => Err(io::Error::other(format!("Non-zero exit code: {nonzero}"))),
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user