aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShav Kinderlehrer <[email protected]>2024-04-07 20:42:38 -0400
committerShav Kinderlehrer <[email protected]>2024-04-07 20:42:38 -0400
commit2faf2898295bbc4b4712b2ad82292f90c1c92f32 (patch)
tree8e332b167f531a59ddc45b655f5f52569d10a93c
parent21b18aac548f6b0fd4aaad920b4a5de0bc6078c0 (diff)
downloadchela-2faf2898295bbc4b4712b2ad82292f90c1c92f32.tar.gz
chela-2faf2898295bbc4b4712b2ad82292f90c1c92f32.zip
Fix clippy warnings
-rw-r--r--src/main.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/main.rs b/src/main.rs
index 1dde8a7..21d29e0 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -198,11 +198,3 @@ CREATE TABLE IF NOT EXISTS chela.tracking (
Ok(db_pool)
}
-
-fn init_routes(state: ServerState) -> Router {
- Router::new()
- .route("/", get(get::index))
- .route("/create", get(get::create_id))
- .route("/", post(post::create_link))
- .layer(axum::Extension(state))
-}