diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-01-27 10:43:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-27 10:43:16 -0500 |
commit | f5840bdcd360ec0bac2501f333e58e25742b1537 (patch) | |
tree | 7eb0818d2cafa0f6824e81b6ed2cfb609830971e /runtime/inspector_server.rs | |
parent | 1a1faff2f67613ed0b89e1a34e6c3fd02ca6fd83 (diff) |
chore: upgrade to Rust 1.67 (#17548)
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'runtime/inspector_server.rs')
-rw-r--r-- | runtime/inspector_server.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/inspector_server.rs b/runtime/inspector_server.rs index 3567b964d..a959bb8d4 100644 --- a/runtime/inspector_server.rs +++ b/runtime/inspector_server.rs @@ -289,7 +289,7 @@ async fn server( // Create the server manually so it can use the Local Executor let server_handler = hyper::server::Builder::new( hyper::server::conn::AddrIncoming::bind(&host).unwrap_or_else(|e| { - eprintln!("Cannot start inspector server: {}.", e); + eprintln!("Cannot start inspector server: {e}."); process::exit(1); }), hyper::server::conn::Http::new().with_executor(LocalExecutor), @@ -299,7 +299,7 @@ async fn server( shutdown_server_rx.await.ok(); }) .unwrap_or_else(|err| { - eprintln!("Cannot start inspector server: {}.", err); + eprintln!("Cannot start inspector server: {err}."); process::exit(1); }) .fuse(); @@ -422,7 +422,7 @@ impl InspectorInfo { self .thread_name .as_ref() - .map(|n| format!(" - {}", n)) + .map(|n| format!(" - {n}")) .unwrap_or_default(), process::id(), ) |