automatic cargo CI changes

This commit is contained in:
cscherrNT 2024-02-09 14:03:51 +00:00 committed by github-actions[bot]
parent fdb5c41e75
commit b661e2de91
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
use rocket::{get,launch,routes}; use rocket::{get, launch, routes};
use rocket_dyn_templates::{context, Template}; use rocket_dyn_templates::{context, Template};
#[get("/")] #[get("/")]
@ -8,5 +8,7 @@ fn index() -> Template {
#[launch] #[launch]
fn entrypoint() -> _ { fn entrypoint() -> _ {
rocket::build().mount("/", routes![index]).attach(Template::fairing()) rocket::build()
.mount("/", routes![index])
.attach(Template::fairing())
} }