From 45c50923b7973f569adb655b43b815e61745b433 Mon Sep 17 00:00:00 2001 From: kaysond Date: Sun, 28 Nov 2021 15:41:33 -0800 Subject: [PATCH] fix rust formatting --- server/src/infra/tcp_server.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/server/src/infra/tcp_server.rs b/server/src/infra/tcp_server.rs index 9d083ba..4093318 100644 --- a/server/src/infra/tcp_server.rs +++ b/server/src/infra/tcp_server.rs @@ -73,9 +73,11 @@ fn http_config( // Serve static files .service(Files::new("/static", "./app/static")) // Serve the index - .service(web::scope("/") - .route("", web::get().to(index)) - .route("index.html", web::get().to(index))); + .service( + web::scope("/") + .route("", web::get().to(index)) + .route("index.html", web::get().to(index)), + ); } pub(crate) struct AppState {