From b21d9675051cff6f3ea84bbc76fd1d2ddca25367 Mon Sep 17 00:00:00 2001 From: Anson Biggs Date: Tue, 28 Nov 2023 23:28:30 -0700 Subject: [PATCH] clean up --- Cargo.toml | 2 ++ src/main.rs | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 04844de..9781a73 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,8 @@ name = "cch23-anson" version = "0.1.0" edition = "2021" +authors = ["Anson Biggs "] +license = "MIT" [dependencies] rocket = "0.5.0" diff --git a/src/main.rs b/src/main.rs index c54e33d..058b8f7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -8,11 +8,10 @@ fn index() -> &'static str { } #[get("/-1/error")] -fn error() -> Status{ -Status::InternalServerError +fn error() -> Status { + Status::InternalServerError } - #[shuttle_runtime::main] async fn main() -> shuttle_rocket::ShuttleRocket { let rocket = rocket::build().mount("/", routes![index, error]);