fix rust formatting

This commit is contained in:
kaysond authored and nitnelave committed 2021-12-01 00:38:54 +01:00
1 parent f730e6a580
commit 45c50923b7
1 file changed
+5 -3
+5 -3
View File
@@ -73,9 +73,11 @@ fn http_config<Backend>(
// 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<Backend> {