From 762c3823425fb045b566ea7588a7d617d44a9e9e Mon Sep 17 00:00:00 2001 From: Johann Rekowski Date: Sun, 23 Oct 2022 06:04:27 +0200 Subject: [PATCH] Clippy fixes --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 0e8531e..51469c0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -14,7 +14,7 @@ async fn main() -> io::Result<()> { let app_config = AppConfig::from(&matches); let server_config = ServerConfig::from(&matches); let pool = server_config.open_database_pool().await.unwrap(); - let port = app_config.port.clone(); + let port = app_config.port; let mut server = HttpServer::new(move || { App::new()