From 02b02177a92566a601f392bad7d031f9e09773d1 Mon Sep 17 00:00:00 2001 From: Magic Len Date: Mon, 27 Nov 2023 21:35:08 +0800 Subject: [PATCH] improve code --- src/server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server.rs b/src/server.rs index a5d031a..8961977 100644 --- a/src/server.rs +++ b/src/server.rs @@ -139,7 +139,7 @@ pub async fn server_main(socket_file_path: &Path) -> anyhow::Result { serve(uds, app).await?; // let addr = "127.0.0.1:3000"; - // let listener = tokio::net::TcpListener::bind(addr).await.unwrap(); + // let listener = tokio::net::TcpListener::bind(addr).await?; // tracing::info!("listening on http://{addr}"); // axum::serve(listener, app).await?;