explicit imports
cargo devel CI / cargo CI (push) Failing after 6s Details

This commit is contained in:
Christoph J. Scherr 2024-02-08 13:02:32 +01:00
parent 2140577b3f
commit c1602ea080
Signed by: cscherrNT
GPG Key ID: 8E2B45BC51A27EA7
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#[macro_use] extern crate rocket;
use rocket::{get,launch,routes};
#[get("/")]
fn index() -> &'static str {
@ -6,6 +6,6 @@ fn index() -> &'static str {
}
#[launch]
fn rocket() -> _ {
fn entrypoint() -> _ {
rocket::build().mount("/", routes![index])
}