From c1057be18eb979a8cb7799c52b92099443365bc4 Mon Sep 17 00:00:00 2001 From: Jan-Bulthuis Date: Sun, 19 Jul 2026 15:26:53 +0200 Subject: [PATCH] chore: clippy --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 1d189ed..dd82fb8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -129,7 +129,7 @@ async fn main() { info!("Serving Karnaugh on socket {}", socket); let listener = tokio::net::TcpListener::bind(socket) .await - .expect(&format!("Failed to bind to socket {}", socket)); + .unwrap_or_else(|_| panic!("Failed to bind to socket {}", socket)); axum::serve(listener, app) .await .expect("Failed to serve site");